mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-08 05:01:44 +00:00
Creport: Update makefile to build npdm/nsp
This commit is contained in:
parent
294f05ea56
commit
761ab4fcfe
2 changed files with 10 additions and 2 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -41,7 +41,9 @@
|
||||||
*.nso
|
*.nso
|
||||||
*.nro
|
*.nro
|
||||||
*.nacp
|
*.nacp
|
||||||
|
*.npdm
|
||||||
*.pfs0
|
*.pfs0
|
||||||
|
*.nsp
|
||||||
*.kip
|
*.kip
|
||||||
|
|
||||||
# Debug files
|
# Debug files
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue