From 44cd7753b5dde323d1e8274b2dc8a5599729e83f Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Fri, 17 Dec 2021 20:45:17 -0500 Subject: Fix calcrom --- arm9/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'arm9') diff --git a/arm9/Makefile b/arm9/Makefile index ce3a85e0..58f1c35c 100644 --- a/arm9/Makefile +++ b/arm9/Makefile @@ -229,8 +229,9 @@ $(CXX_OBJS): $(BUILD_DIR)/%.o: %.cpp $$(dep) $(S_OBJS) $(LIBS_OBJS): $(BUILD_DIR)/%.o: %.s $$(dep) $(AS) $(MWASFLAGS) -o $@ $< +# Bugfix note: zsh doesn't like escapes $(BUILD_DIR)/$(LD_TEMPLATE): $(BUILD_DIR)/%: % - (echo "KEEP_SECTION\n{\n\t.exceptix\n}\n"; cat $<) > $@ + (printf "KEEP_SECTION\n{\n\t.exceptix\n}\n"; cat $<) > $@ $(BUILD_DIR)/$(LD_SCRIPT): $(LD_SPEC) $(BUILD_DIR)/$(LD_TEMPLATE) $(MAKELCF) $(MAKELCF_FLAGS) $^ $@ -- cgit v1.2.3