add GiteaPC support

This commit is contained in:
Lephenixnoir 2021-01-28 18:01:07 +01:00
parent 7b4a181424
commit fade6eb084
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
2 changed files with 29 additions and 0 deletions

4
.gitignore vendored
View File

@ -1,3 +1,7 @@
# Build files
build-fx
build-cg
# GiteaPC support
giteapc-config.make
giteapc-config-*.make

25
giteapc.make Normal file
View File

@ -0,0 +1,25 @@
# giteapc: version=1 depends=Lephenixnoir/gint
-include giteapc-config.make
configure:
@ fxsdk build-fx -c $(LIBEXAMPLE_CMAKEOPTS_FX)
@ fxsdk build-cg -c $(LIBEXAMPLE_CMAKEOPTS_CG)
build:
@ fxsdk build-fx
@ fxsdk build-cg
install:
@ fxsdk build-fx install
@ fxsdk build-cg install
uninstall:
@ if [[ -e build-fx/install_manifest.txt ]]; then \
xargs rm -f < build-fx/install_manifest.txt; \
fi
@ if [[ -e build-cg/install_manifest.txt ]]; then \
xargs rm -f < build-cg/install_manifest.txt; \
fi
.PHONY: configure build install uninstall