2021-01-25 17:57:54 +01:00
|
|
|
# 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:
|
2021-05-25 21:44:38 +02:00
|
|
|
@ make USEGCC=1 TOOLPREFIX=sh-elf- CC=sh-elf-gcc AR=sh-elf-ar libdir="$(PREFIX)" includedir="$(PREFIX)/include"
|
2021-01-25 17:57:54 +01:00
|
|
|
|
|
|
|
install:
|
2021-05-25 21:44:38 +02:00
|
|
|
@ make USEGCC=1 TOOLPREFIX=sh-elf- CC=sh-elf-gcc AR=sh-elf-ar libdir="$(PREFIX)" includedir="$(PREFIX)/include" install-static install-headers
|
2021-01-25 17:57:54 +01:00
|
|
|
|
|
|
|
uninstall:
|
|
|
|
@ echo "uninstall not supported for OpenLibm, skipping"
|
|
|
|
|
|
|
|
.PHONY: configure build install uninstall
|