From 616b50ec1b82f6dac3a2694ed9d2ba3012f5f6f5 Mon Sep 17 00:00:00 2001 From: Steven Smith Date: Thu, 30 Jun 2016 11:38:08 -0700 Subject: [PATCH] Remove SMDH from output files. --- make_base | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/make_base b/make_base index 303df6f..e50f1b7 100644 --- a/make_base +++ b/make_base @@ -133,7 +133,7 @@ ifeq ($(TARGET),3DS) ifeq ($(LIBRARY),1) OUTPUT_FILES := $(OUTPUT_DIR)/lib/$(STRIPPED_NAME).a else - OUTPUT_FILES := $(OUTPUT_DIR)/$(STRIPPED_NAME).elf $(OUTPUT_DIR)/3ds/$(STRIPPED_NAME)/$(STRIPPED_NAME).smdh $(OUTPUT_DIR)/3ds/$(STRIPPED_NAME)/$(STRIPPED_NAME).3dsx $(OUTPUT_DIR)/$(STRIPPED_NAME).3ds $(OUTPUT_DIR)/$(STRIPPED_NAME).cia + OUTPUT_FILES := $(OUTPUT_DIR)/$(STRIPPED_NAME).elf $(OUTPUT_DIR)/3ds/$(STRIPPED_NAME)/$(STRIPPED_NAME).3dsx $(OUTPUT_DIR)/$(STRIPPED_NAME).3ds $(OUTPUT_DIR)/$(STRIPPED_NAME).cia endif LD_FLAGS += -specs=3dsx.specs @@ -253,7 +253,6 @@ endif # MAIN RULES # .PHONY: all run install clean -.PRECIOUS: %.bnr %.icn all: $(OUTPUT_ZIP_FILE) @@ -317,7 +316,7 @@ $(BUILD_DIR)/%.shbin.c: %.shlist @echo $@ @$(SMDHTOOL) --create "$(TITLE)" "$(DESCRIPTION)" "$(AUTHOR)" $(ICON) $@ -$(OUTPUT_DIR)/3ds/$(STRIPPED_NAME)/%.3dsx: $(OUTPUT_DIR)/%.elf $(OUTPUT_DIR)/3ds/$(STRIPPED_NAME)/%.smdh +$(OUTPUT_DIR)/3ds/$(STRIPPED_NAME)/%.3dsx: $(OUTPUT_DIR)/%.elf $(BUILD_DIR)/meta.smdh @echo $@ @$(_3DSXTOOL) $< $@ --smdh=$(word 2,$^) $(_3DSXTOOL_FLAGS)