Skip to content

Commit

Permalink
Add “release” Makefile recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
damianoamatruda committed Aug 16, 2018
1 parent 6ed63ed commit 32ac5fa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export LIBPATHS := $(foreach dir,$(LIBDIRS),-L$(dir)/lib)
export GAME_ICON := $(CURDIR)/$(ASSETS)/icon.bmp

#.PHONY: cardengine_arm7 cardengine_arm9 bootloader BootStrap clean
.PHONY: all dist nightly bootloader cardengine_arm7 cardengine_arm9 clean
.PHONY: all dist release nightly bootloader cardengine_arm7 cardengine_arm9 clean

all: $(OUTPUT)

Expand All @@ -139,6 +139,10 @@ dist: all
# @cp BootStrap/_BOOT_MP.NDS BootStrap/TTMENU.DAT BootStrap/_DS_MENU.DAT BootStrap/ez5sys.bin BootStrap/akmenu4.nds hbmenu
# @tar -cvjf hbmenu-$(VERSION).tar.bz2 hbmenu testfiles README.md COPYING -X exclude.lst

release: $(OUTPUT)
@rm -f $(CURDIR)/$(BIN)/$(TARGET)-release.nds
@cp $(OUTPUT) $(CURDIR)/$(BIN)/$(TARGET)-release.nds

nightly: $(OUTPUT)
@rm -f $(CURDIR)/$(BIN)/$(TARGET)-nightly.nds
@cp $(OUTPUT) $(CURDIR)/$(BIN)/$(TARGET)-nightly.nds
Expand Down

0 comments on commit 32ac5fa

Please sign in to comment.