X-Git-Url: https://secure.softndesign.org/git/?a=blobdiff_plain;f=makefile;fp=makefile;h=674c73f9dd9180499a8f71c068e247a5bd672437;hb=0c2d2e4e622f54040358cda64d6fd46528839a9e;hp=99f9d6ea0e37ee3e65be817502a3b7e35f13806c;hpb=f29271085277e2cfe75796b4156c8339a901211d;p=calc.git 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)