Soft'N'Design Software
/
projects
/
calc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f292710
)
rename tests rule
author
Laurent Mazet
<mazet@softndesign.org>
Thu, 29 Dec 2022 09:37:54 +0000
(10:37 +0100)
committer
Laurent Mazet
<mazet@softndesign.org>
Thu, 29 Dec 2022 09:37:54 +0000
(10:37 +0100)
makefile
patch
|
blob
|
blame
|
history
diff --git
a/makefile
b/makefile
index 99f9d6ea0e37ee3e65be817502a3b7e35f13806c..674c73f9dd9180499a8f71c068e247a5bd672437 100644
(file)
--- 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)