mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-11-09 22:56:35 +00:00
atmosphere: improve makefile dependencies
This commit is contained in:
parent
6336089b63
commit
7309c7f358
1 changed files with 13 additions and 6 deletions
19
Makefile
19
Makefile
|
@ -4,18 +4,25 @@ ifneq (, $(strip $(shell git status --porcelain 2>/dev/null)))
|
||||||
AMSREV := $(AMSREV)-dirty
|
AMSREV := $(AMSREV)-dirty
|
||||||
endif
|
endif
|
||||||
|
|
||||||
all: fusee creport
|
all: fusee stratosphere exosphere thermosphere
|
||||||
fusee:
|
|
||||||
$(MAKE) -C $@ all
|
|
||||||
|
|
||||||
creport:
|
thermosphere:
|
||||||
$(MAKE) -C stratosphere/creport all
|
$(MAKE) -C thermosphere all
|
||||||
|
|
||||||
|
exosphere: thermosphere
|
||||||
|
$(MAKE) -C exosphere all
|
||||||
|
|
||||||
|
stratosphere: exosphere
|
||||||
|
$(MAKE) -C stratosphere all
|
||||||
|
|
||||||
|
fusee: exosphere stratosphere
|
||||||
|
$(MAKE) -C $@ all
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(MAKE) -C fusee clean
|
$(MAKE) -C fusee clean
|
||||||
rm -rf out
|
rm -rf out
|
||||||
|
|
||||||
dist: fusee creport
|
dist: all
|
||||||
$(eval MAJORVER = $(shell grep '\ATMOSPHERE_RELEASE_VERSION_MAJOR\b' common/include/atmosphere/version.h \
|
$(eval MAJORVER = $(shell grep '\ATMOSPHERE_RELEASE_VERSION_MAJOR\b' common/include/atmosphere/version.h \
|
||||||
| tr -s [:blank:] \
|
| tr -s [:blank:] \
|
||||||
| cut -d' ' -f3))
|
| cut -d' ' -f3))
|
||||||
|
|
Loading…
Reference in a new issue