mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-07-19 07:02:14 +02: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
34
Makefile
34
Makefile
@ -9,31 +9,18 @@ endif
|
|||||||
|
|
||||||
COMPONENTS := fusee stratosphere mesosphere exosphere thermosphere troposphere libraries
|
COMPONENTS := fusee stratosphere mesosphere exosphere thermosphere troposphere libraries
|
||||||
|
|
||||||
|
dist-no-debug: all
|
||||||
|
dist: dist-no-debug
|
||||||
all: $(COMPONENTS)
|
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
|
fusee: exosphere mesosphere stratosphere sept
|
||||||
$(MAKE) -C $@ all
|
stratosphere: exosphere libraries
|
||||||
|
mesosphere: exosphere libraries
|
||||||
|
troposphere: stratosphere
|
||||||
|
exosphere: thermosphere
|
||||||
|
sept: exosphere
|
||||||
|
|
||||||
libraries:
|
$(COMPONENTS):
|
||||||
$(MAKE) -C libraries all
|
$(MAKE) -C $@ all
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(MAKE) -C fusee clean
|
$(MAKE) -C fusee clean
|
||||||
@ -143,5 +130,4 @@ dist: dist-no-debug
|
|||||||
rm -r atmosphere-$(AMSVER)-debug
|
rm -r atmosphere-$(AMSVER)-debug
|
||||||
mv atmosphere-$(AMSVER)-debug.zip out/atmosphere-$(AMSVER)-debug.zip
|
mv atmosphere-$(AMSVER)-debug.zip out/atmosphere-$(AMSVER)-debug.zip
|
||||||
|
|
||||||
|
.PHONY: $(TOPTARGETS) $(COMPONENTS)
|
||||||
.PHONY: $(TOPTARGETS) $(COMPONENTS)
|
|
Loading…
Reference in New Issue
Block a user