Fixed loader.bin not cleared after compiling

This commit is contained in:
Aurora 2016-03-23 17:09:52 +01:00
parent 28cdcfed9c
commit a5f8ccc3ea

View File

@ -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 $< $@