🏗️ Makefile will now generate zip file.

This commit is contained in:
Nichole Mattera 2020-04-19 03:12:34 -04:00
parent e11ad6ff06
commit 084e19796a
2 changed files with 7 additions and 1 deletions

3
.gitignore vendored
View File

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

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: