mirror of
https://git.planet-casio.com/Lephenixnoir/OpenLibm.git
synced 2024-12-28 20:43:41 +01:00
20 lines
524 B
Text
20 lines
524 B
Text
|
# giteapc: version=1 depends=Lephenixnoir/sh-elf-gcc
|
||
|
|
||
|
-include giteapc-config.make
|
||
|
|
||
|
PREFIX ?= $(shell sh-elf-gcc --print-search-dirs | grep install | sed 's/install: //')
|
||
|
|
||
|
configure:
|
||
|
@ true
|
||
|
|
||
|
build:
|
||
|
@ make USEGCC=1 TOOLPREFIX=sh-elf- libdir="$(PREFIX)" includedir="$(PREFIX)/include"
|
||
|
|
||
|
install:
|
||
|
@ make USEGCC=1 TOOLPREFIX=sh-elf- libdir="$(PREFIX)" includedir="$(PREFIX)/include" install-static install-headers
|
||
|
|
||
|
uninstall:
|
||
|
@ echo "uninstall not supported for OpenLibm, skipping"
|
||
|
|
||
|
.PHONY: configure build install uninstall
|