Register a "make tests" target

This commit is contained in:
Pierre Pronchery 2021-10-09 00:39:51 +02:00
parent 493a3e186d
commit 6d7ed28cc5

View File

@ -3,3 +3,12 @@ version=0.0.0
subdirs=src,tests,tools
dist=Makefile,COPYING
targets=tests
#targets
[tests]
type=command
command=cd tests && (if [ -n "$(OBJDIR)" ]; then $(MAKE) OBJDIR="$(OBJDIR)tests/" "$(OBJDIR)tests/tests.log"; else $(MAKE) tests.log; fi)
depends=all
enabled=0
phony=1