Browse Source

🏗️ Makefile will now generate zip file.

main
Nichole Mattera 10 months ago
parent
commit
c86efbb630
2 changed files with 7 additions and 1 deletions
  1. +2
    -1
      .gitignore
  2. +5
    -0
      Makefile

+ 2
- 1
.gitignore View File

@ -2,4 +2,5 @@ build/
*.elf
*.npdm
*.nso
*.nsp
*.nsp
*.zip

+ 5
- 0
Makefile View File

@ -161,6 +161,11 @@ all: $(BUILD)
$(BUILD):
@[ -d $@ ] || mkdir -p $@
@$(MAKE) --no-print-directory -C $(BUILD) -f $(CURDIR)/Makefile
@mkdir -p $(CURDIR)/temp/atmosphere/010000000000DA7A/flags
@touch $(CURDIR)/temp/atmosphere/010000000000DA7A/flags/boot2.flags
@cp $(TARGET).nsp $(CURDIR)/temp/atmosphere/010000000000DA7A/exefs.nsp
@cd $(CURDIR)/temp/ && zip -q -r $(CURDIR)/$(TARGET).zip . && cd $(CURDIR)
@rm -rf $(CURDIR)/temp
#---------------------------------------------------------------------------------
clean:


Loading…
Cancel
Save