From a6f5d9b9ffc502faa202e261e4bac0e9b79d891e Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Tue, 2 Jul 2024 15:50:54 +0200 Subject: [PATCH] init c-tsttree --- makefile.d | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) mode change 100755 => 100644 makefile.d diff --git a/makefile.d b/makefile.d old mode 100755 new mode 100644 index 9ac945b..4f60199 --- a/makefile.d +++ b/makefile.d @@ -1,5 +1,5 @@ # -# Makefile for C projets +# Makefile for C test projets # > NAME : the name of the main program (if programs, make a single .d file # per program, link them up in Makfile and use a $ssrcdir) # > srcdir : the source directory @@ -72,12 +72,15 @@ rebuild: clean build $(NAME): deps $(dstdir)/$(NAME) -# Program, so no test -run: +# Test program, so running = running tests +run: run-test +test: build +run-test: test @echo - $(dstdir)/$(NAME) --help -test run-test run-test-more: - @echo you are in the sources of the program, look at the tests instead + $(dstdir)/$(NAME) +run-test-more: test + @echo + $(dstdir)/$(NAME) --more $(dstdir)/$(NAME): $(OBJECTS) mkdir -p $(dstdir) -- 2.27.0