Revision 1274
Added by Aaron Marcuse-Kubitza almost 13 years ago
inputs/input.Makefile | ||
---|---|---|
54 | 54 |
clean: _always |
55 | 55 |
$(RM) $(all) |
56 | 56 |
|
57 |
remake: _always clean all ; |
|
58 |
|
|
59 | 57 |
%.out: %.make _always |
60 | 58 |
./$* >$@ |
61 | 59 |
|
schemas/Makefile | ||
---|---|---|
20 | 20 |
clean: _always |
21 | 21 |
$(RM) $(all) |
22 | 22 |
|
23 |
remake: _always clean all ; |
|
24 |
|
|
25 | 23 |
%:: %.make |
26 | 24 |
./$< >$@ |
27 | 25 |
|
Makefile | ||
---|---|---|
46 | 46 |
_always: |
47 | 47 |
.PHONY: _always |
48 | 48 |
|
49 |
remake: _always clean |
|
50 |
$(MAKE) |
|
51 |
# re-run make so that cache of existing files is reset |
|
52 |
|
|
49 | 53 |
define subdirTargets |
50 | 54 |
$(subdir): _always |
51 | 55 |
+$$(subMake) |
52 | 56 |
|
53 | 57 |
$(subdir)%: _always |
54 | 58 |
+$$(subMake) |
59 |
|
|
60 |
$(subdir)remake: _always $(subdir)clean |
|
61 |
$(MAKE) $(subdir) |
|
62 |
# re-run make so that cache of existing files is reset |
|
55 | 63 |
endef |
56 | 64 |
$(foreach subdir,$(wildcard */),$(eval $(subdirTargets))) |
57 | 65 |
|
mappings/Makefile | ||
---|---|---|
33 | 33 |
|
34 | 34 |
all := |
35 | 35 |
|
36 |
remake: _always clean all ; |
|
37 |
|
|
38 | 36 |
##### Core maps cleanup |
39 | 37 |
|
40 | 38 |
ifneq ($(filter .%.last_cleanup,$(MAKECMDGOALS)),) |
Also available in: Unified diff
Makefiles: Moved remake into main Makefile. Fixed remake to run `make all` in a new make so that cache of existing files is reset. Have main remake run clean and then all instead of forwarding remake to subdirs, so that everything is cleaned before everything is remade.