aboutsummaryrefslogtreecommitdiff
path: root/tests/tests.mk
blob: 33bc1e495ae731b76a8e693eb3879bacad868d2d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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)