mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-22 20:31:14 +00:00
Merge pull request #333 from nicoelayda/fix-makefile
Add component subdirectories to root Makefile's .PHONY
This commit is contained in:
commit
cd8621c632
1 changed files with 6 additions and 4 deletions
10
Makefile
10
Makefile
|
@ -6,7 +6,9 @@ ifneq (, $(strip $(shell git status --porcelain 2>/dev/null)))
|
|||
AMSREV := $(AMSREV)-dirty
|
||||
endif
|
||||
|
||||
all: fusee stratosphere exosphere thermosphere troposphere
|
||||
COMPONENTS := fusee stratosphere exosphere thermosphere troposphere
|
||||
|
||||
all: $(COMPONENTS)
|
||||
|
||||
thermosphere:
|
||||
$(MAKE) -C thermosphere all
|
||||
|
@ -26,7 +28,7 @@ fusee: exosphere stratosphere
|
|||
clean:
|
||||
$(MAKE) -C fusee clean
|
||||
rm -rf out
|
||||
|
||||
|
||||
dist: all
|
||||
$(eval MAJORVER = $(shell grep '\ATMOSPHERE_RELEASE_VERSION_MAJOR\b' common/include/atmosphere/version.h \
|
||||
| tr -s [:blank:] \
|
||||
|
@ -63,6 +65,6 @@ dist: all
|
|||
mkdir out
|
||||
mv atmosphere-$(AMSVER).zip out/atmosphere-$(AMSVER).zip
|
||||
cp fusee/fusee-primary/fusee-primary.bin out/fusee-primary.bin
|
||||
|
||||
|
||||
.PHONY: $(TOPTARGETS) fusee
|
||||
|
||||
.PHONY: $(TOPTARGETS) $(COMPONENTS)
|
||||
|
|
Loading…
Reference in a new issue