Make a top-level make build everything in order

This commit is contained in:
TuxSH 2018-05-15 01:30:56 +02:00
parent 8bf4cd1908
commit d9c2a54464
3 changed files with 22 additions and 58 deletions

View file

@ -1,4 +1,4 @@
SUBFOLDERS := exosphere fusee/fusee-primary fusee/fusee-secondary stratosphere/libstratosphere thermosphere
SUBFOLDERS := exosphere fusee stratosphere thermosphere
TOPTARGETS := all clean
@ -7,4 +7,6 @@ $(TOPTARGETS): $(SUBFOLDERS)
$(SUBFOLDERS):
$(MAKE) -C $@ $(MAKECMDGOALS)
fusee: exosphere thermosphere stratosphere
.PHONY: $(TOPTARGETS) $(SUBFOLDERS)