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

Creport: Update makefile to build npdm/nsp

This commit is contained in:
Michael Scire 2018-08-10 19:51:59 -07:00
parent 294f05ea56
commit 761ab4fcfe
2 changed files with 10 additions and 2 deletions

2
.gitignore vendored
View file

@ -41,7 +41,9 @@
*.nso *.nso
*.nro *.nro
*.nacp *.nacp
*.npdm
*.pfs0 *.pfs0
*.nsp
*.kip *.kip
# Debug files # Debug files

View file

@ -120,7 +120,7 @@ $(BUILD):
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
clean: clean:
@echo clean ... @echo clean ...
@rm -fr $(BUILD) $(TARGET).nso $(TARGET).elf @rm -fr $(BUILD) $(TARGET).nsp $(TARGET).npdm $(TARGET).nso $(TARGET).elf
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
@ -132,7 +132,13 @@ DEPENDS := $(OFILES:.o=.d)
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
# main targets # main targets
#--------------------------------------------------------------------------------- #---------------------------------------------------------------------------------
all : $(OUTPUT).nso all : $(OUTPUT).nsp
ifeq ($(strip $(APP_JSON)),)
$(OUTPUT).nsp : $(OUTPUT).nso
else
$(OUTPUT).nsp : $(OUTPUT).nso $(OUTPUT).npdm
endif
$(OUTPUT).nso : $(OUTPUT).elf $(OUTPUT).nso : $(OUTPUT).elf