1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-22 11:56:40 +00:00

Add component subdirectories to root Makefile's .PHONY

This commit is contained in:
Nico Elayda 2019-01-26 01:33:35 +08:00
parent da68d02c77
commit e55a7bef26

View file

@ -6,7 +6,9 @@ ifneq (, $(strip $(shell git status --porcelain 2>/dev/null)))
AMSREV := $(AMSREV)-dirty AMSREV := $(AMSREV)-dirty
endif endif
all: fusee stratosphere exosphere thermosphere troposphere COMPONENTS := fusee stratosphere exosphere thermosphere troposphere
all: $(COMPONENTS)
thermosphere: thermosphere:
$(MAKE) -C thermosphere all $(MAKE) -C thermosphere all
@ -26,7 +28,7 @@ fusee: exosphere stratosphere
clean: clean:
$(MAKE) -C fusee clean $(MAKE) -C fusee clean
rm -rf out rm -rf out
dist: all 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:] \
@ -63,6 +65,6 @@ dist: all
mkdir out mkdir out
mv atmosphere-$(AMSVER).zip out/atmosphere-$(AMSVER).zip mv atmosphere-$(AMSVER).zip out/atmosphere-$(AMSVER).zip
cp fusee/fusee-primary/fusee-primary.bin out/fusee-primary.bin cp fusee/fusee-primary/fusee-primary.bin out/fusee-primary.bin
.PHONY: $(TOPTARGETS) fusee
.PHONY: $(TOPTARGETS) $(COMPONENTS)