Mercurial > ~dholland > hg > ag > index.cgi
comparison mk/testsubdir.mk @ 0:13d2b8934445
Import AnaGram (near-)release tree into Mercurial.
author | David A. Holland |
---|---|
date | Sat, 22 Dec 2007 17:52:45 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:13d2b8934445 |
---|---|
1 # | |
2 # testsubdir.mk - recurse into subdirectories, in portable make, for tests. | |
3 # | |
4 # Before including, set: | |
5 # SUBDIRS directories to recurse into | |
6 # | |
7 # For test subdirs, we divide "all" into run-tests and show-diffs at | |
8 # the top, so that all the diffs print at the end of the test run. | |
9 # | |
10 | |
11 include $(BUILDTOP)/config.mk | |
12 include rules.mk | |
13 include depend.mk | |
14 | |
15 rules: | |
16 @$(MAKE) rules-here | |
17 @$(MAKE) rules-subdirs | |
18 | |
19 rules-here: | |
20 @$(TOP)/mk/testsubdir-rules.sh "$(SUBDIRS)" > rules.mk | |
21 # @echo ' [RULES]' | |
22 | |
23 clean: clean-subdirs | |
24 | |
25 distclean: | |
26 @$(MAKE) distclean-subdirs | |
27 @$(MAKE) distclean-here | |
28 | |
29 .PHONY: rules rules-here rules-subdirs | |
30 .PHONY: distclean distclean-here distclean-subdirs |