diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/tests.mk | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/tests.mk b/tests/tests.mk new file mode 100644 index 0000000..33bc1e4 --- /dev/null +++ b/tests/tests.mk @@ -0,0 +1,16 @@ +# vim:ts=4:sw=4:noexpandtab + +.PHONY: help-test +help-test:: + @echo "General extendable macro language make test targets:" + @echo " tests - Executes all tests" + @echo " help-test - Prits help for all implemented tests" + @echo " cppcheck - Executes cppcheck on all compilled sources" + +.PHONY: tests +tests: cppcheck + +.PHONY: +cppcheck: $(CSRC) + @echo " CPPCHECK" + $(Q)$(CPPCHECK) --enable=all --std=c11 --error-exitcode=1 $(CSRC) |