Revision 1e5f7648 modules/Makefile
modules/Makefile | ||
---|---|---|
32 | 32 |
CLEANTRGS = $(MODULES:%=clean_%) |
33 | 33 |
FLASHTRGS = $(MODULES:%=flash_%) |
34 | 34 |
|
35 |
.PHONY: all $(MODULES) flash $(FLASHTRGS) clean $(CLEANTRGS)
|
|
35 |
.PHONY: all $(MODULES) $(FLASHTRGS) clean $(CLEANTRGS) |
|
36 | 36 |
|
37 | 37 |
all: $(MODULES) |
38 | 38 |
$(MODULES): |
39 | 39 |
$(MAKE) -C $(MODULES_DIR)$@ |
40 | 40 |
|
41 |
flash: $(FLASHTRGS) |
|
42 | 41 |
$(FLASHTRGS): |
43 | 42 |
$(MAKE) -C $(MODULES_DIR)$(@:flash_%=%) flash |
44 | 43 |
|
Also available in: Unified diff