2022-08-12 22:04:18 +02:00
|
|
|
# giteapc: version=1 depends=Lephenixnoir/fxsdk,Lephenixnoir/sh-elf-gcc
|
2021-01-25 17:57:54 +01:00
|
|
|
|
|
|
|
-include giteapc-config.make
|
|
|
|
|
2022-08-12 22:04:18 +02:00
|
|
|
# Use the fxSDK's default paths unless specified otherwise on the command line
|
|
|
|
LIBDIR ?= $(shell fxsdk path lib)
|
|
|
|
INCDIR ?= $(shell fxsdk path include)
|
|
|
|
|
|
|
|
FLAGS := USEGCC=1 TOOLPREFIX=sh-elf- CC=sh-elf-gcc AR=sh-elf-ar \
|
|
|
|
libdir="$(LIBDIR)" includedir="$(INCDIR)"
|
2021-01-25 17:57:54 +01:00
|
|
|
|
|
|
|
configure:
|
|
|
|
@ true
|
|
|
|
|
|
|
|
build:
|
2022-08-12 22:04:18 +02:00
|
|
|
@ make $(FLAGS)
|
2021-01-25 17:57:54 +01:00
|
|
|
|
|
|
|
install:
|
2022-08-12 22:04:18 +02:00
|
|
|
@ make $(FLAGS) install-static-superh install-headers-superh
|
2021-01-25 17:57:54 +01:00
|
|
|
|
|
|
|
uninstall:
|
|
|
|
@ echo "uninstall not supported for OpenLibm, skipping"
|
|
|
|
|
|
|
|
.PHONY: configure build install uninstall
|