diff --git a/Makefile b/Makefile index d6870ea..13201a1 100644 --- a/Makefile +++ b/Makefile @@ -9,13 +9,13 @@ readfloppy.bin: readfloppy.asm crc16.s: crc16.c ia16-elf-gcc -S -Os -o crc16.s crc16.c -crc16.bin: crc16.s crt0.c 5150.ld +crc16.bin: crc16.s crt0.c ia16-elf-gcc -o crc16.bin -Os -nostdlib crc16.s crt0.c wozmon.s: wozmon.cc ia16-elf-gcc -S -Os -o wozmon.s wozmon.cc -wozmon.bin: wozmon.s crt0.c 5150.ld +wozmon.bin: wozmon.s crt0.c ia16-elf-gcc -o wozmon.bin -Os -nostdlib wozmon.s crt0.c truncate -s 510 wozmon.bin printf "\125\252" >> wozmon.bin