mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-04-22 04:24:48 +00:00
Makefile changes
* Make dist-no-debug the default build target * Remove repeating recipe into common recipe for the components
This commit is contained in:
parent
71e0102f7a
commit
8fee841914
1 changed files with 10 additions and 24 deletions
34
Makefile
34
Makefile
|
@ -9,31 +9,18 @@ endif
|
|||
|
||||
COMPONENTS := fusee stratosphere mesosphere exosphere thermosphere troposphere libraries
|
||||
|
||||
dist-no-debug: all
|
||||
dist: dist-no-debug
|
||||
all: $(COMPONENTS)
|
||||
|
||||
thermosphere:
|
||||
$(MAKE) -C thermosphere all
|
||||
|
||||
exosphere: thermosphere
|
||||
$(MAKE) -C exosphere all
|
||||
|
||||
stratosphere: exosphere libraries
|
||||
$(MAKE) -C stratosphere all
|
||||
|
||||
mesosphere: exosphere libraries
|
||||
$(MAKE) -C mesosphere all
|
||||
|
||||
troposphere: stratosphere
|
||||
$(MAKE) -C troposphere all
|
||||
|
||||
sept: exosphere
|
||||
$(MAKE) -C sept all
|
||||
|
||||
fusee: exosphere mesosphere stratosphere sept
|
||||
$(MAKE) -C $@ all
|
||||
stratosphere: exosphere libraries
|
||||
mesosphere: exosphere libraries
|
||||
troposphere: stratosphere
|
||||
exosphere: thermosphere
|
||||
sept: exosphere
|
||||
|
||||
libraries:
|
||||
$(MAKE) -C libraries all
|
||||
$(COMPONENTS):
|
||||
$(MAKE) -C $@ all
|
||||
|
||||
clean:
|
||||
$(MAKE) -C fusee clean
|
||||
|
@ -143,5 +130,4 @@ dist: dist-no-debug
|
|||
rm -r atmosphere-$(AMSVER)-debug
|
||||
mv atmosphere-$(AMSVER)-debug.zip out/atmosphere-$(AMSVER)-debug.zip
|
||||
|
||||
|
||||
.PHONY: $(TOPTARGETS) $(COMPONENTS)
|
||||
.PHONY: $(TOPTARGETS) $(COMPONENTS)
|
Loading…
Add table
Reference in a new issue