From 5b9f6d37a6e52b0a232d0b3d2ff426b3c5238506 Mon Sep 17 00:00:00 2001 From: IndyColtsFan84 Date: Sun, 29 Mar 2015 19:57:04 -0400 Subject: [PATCH] Added CIA Makefile rules --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d13ee3f..046f305 100644 --- a/Makefile +++ b/Makefile @@ -134,9 +134,15 @@ $(BUILD): #--------------------------------------------------------------------------------- clean: @echo clean ... - @rm -fr $(BUILD) $(TARGET).3dsx $(OUTPUT).smdh $(TARGET).elf + @rm -fr $(BUILD) $(TARGET).3dsx $(OUTPUT).smdh $(TARGET).elf $(TARGET).cia $(TARGET)-strip.elf +#--------------------------------------------------------------------------------- +$(TARGET)-strip.elf: $(BUILD) + $(STRIP) $(TARGET).elf -o $(TARGET)-strip.elf +cia: $(TARGET)-strip.elf + $(DEVKITARM)/bin/makerom -f cia -o $(TARGET).cia -elf $(TARGET)-strip.elf -rsf $(CURDIR)/app/build-cia.rsf -icon $(CURDIR)/app/icon.icn -banner $(CURDIR)/app/banner.bnr -exefslogo -target t + #--------------------------------------------------------------------------------- else