Fixed loader.bin not cleared after compiling
This commit is contained in:
parent
28cdcfed9c
commit
a5f8ccc3ea
3
Makefile
3
Makefile
@ -78,7 +78,8 @@ $(dir_build)/patches.h: $(dir_emu)/emuCode.s $(dir_reboot)/rebootCode.s
|
|||||||
|
|
||||||
$(dir_build)/loader.h: $(dir_loader)/Makefile
|
$(dir_build)/loader.h: $(dir_loader)/Makefile
|
||||||
@$(MAKE) -C $(dir_loader)
|
@$(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
|
$(dir_build)/main.bin: $(dir_build)/main.elf
|
||||||
$(OC) -S -O binary $< $@
|
$(OC) -S -O binary $< $@
|
||||||
|
Reference in New Issue
Block a user