fxsdk/giteapc.make

31 lines
726 B
Text
Raw Permalink Normal View History

2021-01-14 10:47:06 +01:00
# giteapc: version=1
# Parameters for custom configurations:
# PREFIX Install prefix
# FXSDK_CONFIGURE Configure options (see ./configure --help)
PREFIX ?= $(GITEAPC_PREFIX)
-include giteapc-config.make
configure:
2021-04-03 11:31:41 +02:00
@ cmake -B build -DCMAKE_INSTALL_PREFIX="$(PREFIX)" $(FXSDK_CONFIGURE)
2021-01-14 10:47:06 +01:00
build:
2021-04-03 11:31:41 +02:00
@ make -C build
2021-01-14 10:47:06 +01:00
install:
2021-04-03 11:31:41 +02:00
@ make -C build install
2021-01-14 10:47:06 +01:00
uninstall:
@ echo "<fxsdk> Removing the SuperH sysroot..."
@ if [ -d "$(shell fxsdk path sysroot)" ]; then \
rm -r "$(shell fxsdk path sysroot)"; \
fi
@ echo "<fxsdk> Uninstalling fxSDK tools..."
2021-04-03 11:31:41 +02:00
@ if [ -e build/install_manifest.txt ]; then \
xargs rm -f < build/install_manifest.txt; \
2021-04-03 11:31:41 +02:00
fi
2021-01-14 10:47:06 +01:00
.PHONY: configure build install uninstall