fxsdk/giteapc.make
2021-04-03 11:39:26 +02:00

25 lines
531 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:
@ if [ -e build/install_manifest.txt ]; then \
xargs rm -f < build/install_manifest.txt; \
fi
.PHONY: configure build install uninstall