Add component subdirectories to root Makefile's .PHONY

This commit is contained in:
Nico Elayda 2019-01-26 01:33:35 +08:00
parent da68d02c77
commit e55a7bef26

View file

@ -6,7 +6,9 @@ ifneq (, $(strip $(shell git status --porcelain 2>/dev/null)))
AMSREV := $(AMSREV)-dirty
endif
all: fusee stratosphere exosphere thermosphere troposphere
COMPONENTS := fusee stratosphere exosphere thermosphere troposphere
all: $(COMPONENTS)
thermosphere:
$(MAKE) -C thermosphere all
@ -65,4 +67,4 @@ dist: all
cp fusee/fusee-primary/fusee-primary.bin out/fusee-primary.bin
.PHONY: $(TOPTARGETS) fusee
.PHONY: $(TOPTARGETS) $(COMPONENTS)