X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=ld45_start_nothing;a=blobdiff_plain;f=Makefile;h=aadff3693d802294e9f2179e4f5ab9b8e46843a8;hp=165c473bdb78cc770ed59bff9295db8c7afd71e8;hb=78cf90d60c7cdbfcb8bc1d3e3d03a577d1b70f7b;hpb=2cef53ae69622dc995fa0f4ac7a6d793684b4403 diff --git a/Makefile b/Makefile index 165c473..aadff36 100644 --- a/Makefile +++ b/Makefile @@ -37,13 +37,13 @@ data/sprsheet.inc: data/sprsheet.png .PHONY: clean clean: - rm -f $(bin) $(obj) bootldr.img floppy.img boot.img + rm -f $(bin) $(obj) bootldr.bin floppy.img boot.img .PHONY: disasm -disasm: bootldr.disasm $(bin).disasm +disasm: bootldr.disasm $(name).disasm -bootldr.disasm: bootldr.img - ndisasm -b 16 -o 7c00h $< >$@ +bootldr.disasm: $(elf) + objdump -d $< -j .boot -j .boot2 -m i8086 >$@ $(name).disasm: $(elf) objdump -d $< -j .text -m i386 >$@