Rev 4166 | Rev 4307 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4166 | Rev 4243 | ||
---|---|---|---|
Line 51... | Line 51... | ||
51 | BUILDS := $(addsuffix .build,$(DIRS_ALL)) |
51 | BUILDS := $(addsuffix .build,$(DIRS_ALL)) |
52 | endif |
52 | endif |
53 | 53 | ||
54 | CLEANS := $(addsuffix .clean,$(DIRS_ALL)) |
54 | CLEANS := $(addsuffix .clean,$(DIRS_ALL)) |
55 | 55 | ||
- | 56 | CHECKS := $(addsuffix .check,$(basename $(BUILDS))) |
|
- | 57 | ||
56 | .PHONY: all build $(BUILDS) $(CLEANS) clean distclean |
58 | .PHONY: all build $(BUILDS) $(CLEANS) clean distclean |
57 | 59 | ||
58 | all: $(BUILDS) |
60 | all: $(BUILDS) |
59 | 61 | ||
60 | build: $(BUILDS) |
62 | build: $(BUILDS) |
61 | 63 | ||
- | 64 | check: $(CHECKS) |
|
- | 65 | ||
62 | clean: $(CLEANS) |
66 | clean: $(CLEANS) |
63 | find $(DIRS_ALL) ./ -name '*.o' -follow -exec rm \{\} \; |
67 | find $(DIRS_ALL) ./ -name '*.o' -follow -exec rm \{\} \; |
64 | 68 | ||
65 | distclean: clean |
69 | distclean: clean |
66 | 70 | ||
- | 71 | $(CHECKS): |
|
- | 72 | -$(MAKE) -C $(basename $@) check |
|
- | 73 | ||
67 | $(CLEANS): |
74 | $(CLEANS): |
68 | -$(MAKE) -C $(basename $@) clean |
75 | -$(MAKE) -C $(basename $@) clean |
69 | 76 | ||
70 | $(BUILDS): |
77 | $(BUILDS): |
71 | $(MAKE) -C $(basename $@) all |
78 | $(MAKE) -C $(basename $@) all |