From 0c2d2e4e622f54040358cda64d6fd46528839a9e Mon Sep 17 00:00:00 2001 From: Laurent Mazet Date: Thu, 29 Dec 2022 10:37:54 +0100 Subject: [PATCH] rename tests rule --- makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/makefile b/makefile index 99f9d6e..674c73f 100644 --- a/makefile +++ b/makefile @@ -43,9 +43,6 @@ VALID = $(call TITLE, $(1)) && $(2) && $(call PASS, SUCCESS) || { $(call FAIL, F all: depends $(MAKE) $(ALLEXE:%=%.exe) -alltests: all - $(MAKE) $(addprefix test_,$(ALLEXE:%.exe=%)) - depends: $(patsubst %.c, %.d, $(wildcard *.c)) $(patsubst %, %.ld, $(ALLEXE)) count: @@ -63,6 +60,9 @@ purge: clean rm -f purge $(ALLEXE) $(shell [ -f .targets ] && { cat .targets | sort | uniq; echo .targets; }) $(call PASS, SUCCESS) +tests: all + $(MAKE) $(addprefix test_,$(ALLEXE:%.exe=%)) + ## Main rules include $(wildcard *.d) -- 2.30.2