Merge pull request #333 from nicoelayda/fix-makefile

Add component subdirectories to root Makefile's .PHONY
This commit is contained in:
SciresM 2019-01-25 12:07:36 -08:00 committed by GitHub
commit cd8621c632
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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