Revamp all the Makefiles (thanks @fincs @WinterMute)

... dependencies are now properly handled (e.g. header changes, etc.)
This commit is contained in:
TuxSH 2018-05-19 00:54:38 +02:00
parent 7bfdf63a71
commit b4eeddd7e1
23 changed files with 773 additions and 304 deletions

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