diff options
| author | J08nY | 2017-04-05 12:52:19 +0200 |
|---|---|---|
| committer | J08nY | 2017-04-05 13:11:01 +0200 |
| commit | 9ad9770e8f16d654cfef2fffa2776a186f7c4b3b (patch) | |
| tree | edb7b0a885e3a84272b1abcdaddbd14eb5f396c4 /Makefile | |
| parent | 2bcb800524eff712bf9c0789be90a5798e322b6d (diff) | |
| download | ecgen-9ad9770e8f16d654cfef2fffa2776a186f7c4b3b.tar.gz ecgen-9ad9770e8f16d654cfef2fffa2776a186f7c4b3b.tar.zst ecgen-9ad9770e8f16d654cfef2fffa2776a186f7c4b3b.zip | |
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -9,9 +9,12 @@ all: +$(MAKE) -C src all clean: - +$(MAKE) -C lib clean +$(MAKE) -C src clean +clean-all: + +$(MAKE) -C lib clean + +$(MAKE) -C src clean-all + docs: doxygen Doxyfile @@ -21,17 +24,15 @@ help: @echo "Available targets:" @echo " - all : builds all" @echo " - ecgen : builds the main binary" - @echo " - gp2c : generates the .c and .h files from gp code" @echo " - docs : generate doxygen docs" @echo " - clean : cleans up after a build" - @echo " - clean-gp : cleans up after gp2c generation" @echo " - clean-all : cleans all" @echo " - format : run clang-format on source files" @echo " - help : print this help" .PHONY: all docs help -ifeq (, $(filter all clean docs help, $(MAKECMDGOALS))) +ifeq (, $(filter all clean clean-all docs help, $(MAKECMDGOALS))) # Just pass all targets to a Makefile in src $(MAKECMDGOALS): +$(MAKE) -C src $@ |
