Revision 9703
Added by Aaron Marcuse-Kubitza over 11 years ago
common.Makefile | ||
---|---|---|
103 | 103 |
|
104 | 104 |
clean: # make sure `make clean` always works |
105 | 105 |
|
106 |
%/remake: _always |
|
107 |
$(MAKE) $(@D)/clean |
|
108 |
$(MAKE) $(@D)/ |
|
109 |
# re-run make so that cache of existing files is reset |
|
110 |
|
|
111 |
%-remake: _always |
|
112 |
rm -f $* |
|
113 |
$(MAKE) $* |
|
114 |
# re-run make so that cache of existing files is reset |
|
115 |
|
|
106 | 116 |
%/reinstall: _always %/uninstall %/install ; |
107 | 117 |
|
108 | 118 |
# Run with `make -s` to avoid echoing make commands |
Also available in: Unified diff
/Makefile: moved %/remake, %-remake to lib/common.Makefile because they are generally useful