amiro-os / devices / Makefile @ 0f37fb41
History | View | Annotate | Download (258 Bytes)
1 | 58fe0e0b | Thomas Schöpping | all: devices |
---|---|---|---|
2 | |||
3 | include flash.mk |
||
4 | |||
5 | CLEANTRGS = $(DEVICES:%=clean-%) |
||
6 | |||
7 | .PHONY: $(DEVICES) |
||
8 | |||
9 | devices: $(DEVICES) |
||
10 | |||
11 | $(DEVICES): |
||
12 | $(MAKE) -C $@ |
||
13 | |||
14 | $(FLASHTRGS): |
||
15 | $(MAKE) -C $(firstword $(subst /, ,$@)) |
||
16 | |||
17 | clean: $(CLEANTRGS) |
||
18 | $(CLEANTRGS): |
||
19 | $(MAKE) -C $(@:clean-%=%) clean |