From a5f8ccc3ea8b8200ff69338ae0efb4a5697e0cfa Mon Sep 17 00:00:00 2001 From: Aurora Date: Wed, 23 Mar 2016 17:09:52 +0100 Subject: [PATCH] Fixed loader.bin not cleared after compiling --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ff39049..0aa5328 100644 --- a/Makefile +++ b/Makefile @@ -78,7 +78,8 @@ $(dir_build)/patches.h: $(dir_emu)/emuCode.s $(dir_reboot)/rebootCode.s $(dir_build)/loader.h: $(dir_loader)/Makefile @$(MAKE) -C $(dir_loader) - @bin2c -o $@ -n loader $(dir_loader)/loader.bin + @mv $(dir_loader)/loader.bin $(dir_build) + @bin2c -o $@ -n loader $(dir_build)/loader.bin $(dir_build)/main.bin: $(dir_build)/main.elf $(OC) -S -O binary $< $@