Revision 414
Added by Aaron Marcuse-Kubitza about 13 years ago
Makefile | ||
---|---|---|
30 | 30 |
# Env |
31 | 31 |
export PGOPTIONS = --client-min-messages=WARNING |
32 | 32 |
|
33 |
subdirs := schemas/ mappings/ |
|
34 |
|
|
35 | 33 |
##### |
36 | 34 |
|
37 |
all: _always $(subdirs) inputs
|
|
35 |
all: |
|
38 | 36 |
|
39 | 37 |
.SUFFIXES: |
40 | 38 |
|
41 | 39 |
_always: |
42 | 40 |
.PHONY: _always |
43 | 41 |
|
44 |
clean: _always inputs/clean $(addsuffix clean,$(subdirs)) |
|
45 |
|
|
46 | 42 |
define subdirTargets |
47 | 43 |
$(subdir): _always |
48 | 44 |
+$$(subMake) |
... | ... | |
52 | 48 |
endef |
53 | 49 |
$(foreach subdir,$(wildcard */),$(eval $(subdirTargets))) |
54 | 50 |
|
51 |
%: $(addsuffix %,$(dir $(shell echo */Makefile))) _always ; |
|
52 |
|
|
55 | 53 |
##### |
56 | 54 |
|
57 | 55 |
install: _always core mysql inputs/install test |
Also available in: Unified diff
Makefile: Added default target that recursed into subdirs with Makefiles. Used default target for all and clean.