mirror of
https://git.planet-casio.com/Lephenixnoir/fxsdk.git
synced 2024-12-29 13:03:37 +01:00
147ff08869
This commit mainly introduces an almost-normal sysroot where the compiler and libs will be installed. This is done in order to properly build libstdc++-v3 from the GCC tree while also cleaning up the slightly chaotic current install system. * Add an `fxsdk --version` command * Redo the README like a translation of the French topic * Up default project to gint 2.9 to help get migrations right * Add new `fxsdk path` command reporting important folders * Add new CMake variables FXSDK_SYSROOT, FXSDK_INCLUDE, FXSDK_LIB so CMake can access the information of `fxsdk path` * fxSDK is now in charge of removing the entire sysroot including the cross-compiler * Add a LICENSE file
30 lines
726 B
Makefile
30 lines
726 B
Makefile
# 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:
|
|
@ cmake -B build -DCMAKE_INSTALL_PREFIX="$(PREFIX)" $(FXSDK_CONFIGURE)
|
|
|
|
build:
|
|
@ make -C build
|
|
|
|
install:
|
|
@ make -C build install
|
|
|
|
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..."
|
|
@ if [ -e build/install_manifest.txt ]; then \
|
|
xargs rm -f < build/install_manifest.txt; \
|
|
fi
|
|
|
|
.PHONY: configure build install uninstall
|