aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJ08nY2017-10-14 13:51:47 +0200
committerJ08nY2017-10-14 13:51:47 +0200
commit4dece41c236a7e92ab04205e8b6e076a2514a528 (patch)
tree81d01f854049a588cdd510deda3fc08a8f2e08c0 /Makefile
parent80514f24dae8352f39f9a9e49c0d9afbd8edd432 (diff)
downloadecgen-4dece41c236a7e92ab04205e8b6e076a2514a528.tar.gz
ecgen-4dece41c236a7e92ab04205e8b6e076a2514a528.tar.zst
ecgen-4dece41c236a7e92ab04205e8b6e076a2514a528.zip
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 303e223..cbe5125 100644
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,10 @@ clean-all:
rm -rf *.gcov
rm -rf doc/*
+format:
+ +$(MAKE) -C src format
+ +$(MAKE) -C test format
+
docs:
doxygen Doxyfile
@@ -45,7 +49,7 @@ help:
.PHONY: all clean clean-all docs test unittest help
-ifeq (, $(filter all clean clean-all docs test unittest help, $(MAKECMDGOALS)))
+ifeq (, $(filter all clean clean-all format docs test unittest help, $(MAKECMDGOALS)))
# Just pass all targets to a Makefile in src
$(MAKECMDGOALS):
+$(MAKE) -C src $@