aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2016-11-17 17:57:20 +0100
committerKarel Kočí <cynerd@email.cz>2016-11-17 17:57:20 +0100
commit33fcbdeef12b2831cff2dc6eee7c5b48e34d0851 (patch)
tree36fde3beca7695ab55e46910443ec25e64d55ea9 /Makefile
parentad2a23815a49245117cadbfcb6a59dfd6fc95483 (diff)
downloadgeml-33fcbdeef12b2831cff2dc6eee7c5b48e34d0851.tar.gz
geml-33fcbdeef12b2831cff2dc6eee7c5b48e34d0851.tar.bz2
geml-33fcbdeef12b2831cff2dc6eee7c5b48e34d0851.zip
Add tests target and some fixesHEADmaster
For now only cppcheck is implemented.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 780c5d4..a0d7c21 100644
--- a/Makefile
+++ b/Makefile
@@ -48,6 +48,8 @@ help:
@echo " docs - Build html documentation"
@echo " serve-docs - Start html server with documentation on localhost:8000"
@echo " clean-docs - Removes generated documentation"
+ @echo " tests - Executes all tests"
+ @echo " help-test - Prints help for all implemented tests"
@echo "Some enviroment variables to be defined:"
@echo " Q - Define emty to show executed commands"
@@ -80,6 +82,9 @@ distclean:: clean clean-docs
@echo " CLEAN configuration"
$(Q)$(RM) $(O)/.config
+# Include test targets
+include tests/tests.mk
+
## Building targets ##
ifeq (,$(filter clean distclean help docs serve-docs clean-docs \
,$(MAKECMDGOALS))) # Ignore build targets if goal is not building