Revamp all the Makefiles (thanks @fincs @WinterMute)

... dependencies are now properly handled (e.g. header changes, etc.)
This commit is contained in:
TuxSH committed 2018-05-19 01:07:27 +02:00
1 parent 7bfdf63a71
commit b4eeddd7e1
23 files changed
+773 -304

No files matched your search

+6 -8
View File
@@ -1,12 +1,10 @@
SUBFOLDERS := exosphere fusee stratosphere thermosphere
TOPTARGETS := all clean
$(TOPTARGETS): $(SUBFOLDERS)
all: fusee
fusee:
$(MAKE) -C $@ all
$(SUBFOLDERS):
$(MAKE) -C $@ $(MAKECMDGOALS)
clean:
$(MAKE) -C fusee clean
fusee: exosphere thermosphere stratosphere
.PHONY: $(TOPTARGETS) $(SUBFOLDERS)
.PHONY: $(TOPTARGETS) fusee