Revamp all the Makefiles (thanks @fincs @WinterMute)
... dependencies are now properly handled (e.g. header changes, etc.)
This commit is contained in:
14
Makefile
14
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user