From 6d7ed28cc5ed4d79c5c134f1d5d0622c35e168fc Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Sat, 9 Oct 2021 00:39:51 +0200 Subject: [PATCH] Register a "make tests" target --- project.conf | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/project.conf b/project.conf index 872badb..f8bcd75 100644 --- a/project.conf +++ b/project.conf @@ -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