diff --git a/sd-emutos/Makefile b/sd-emutos/Makefile index 43a9438..baa7673 100644 --- a/sd-emutos/Makefile +++ b/sd-emutos/Makefile @@ -6,10 +6,9 @@ TOOLCHAIN_PREFIX=m68k-atari-mint- CC=$(TOOLCHAIN_PREFIX)gcc -CFLAGS=-mcpu=68030 \ +CFLAGS=-mcpu=547x \ -Os \ -fomit-frame-pointer \ - -g \ -Wno-multichar\ -Wall EMUSD=emusd @@ -27,7 +26,7 @@ $(APP): $(OBJECTS) depend test: xhditest.prg xhditest.prg: xhdi_test.c depend - $(CC) $(CFLAGS) -Wl,-traditional-format xhdi_test.c -o xhditest.prg + $(CC) $(CFLAGS) xhdi_test.c -o xhditest.prg .PHONY clean: - rm -rf *.o depend xhditest.prg diff --git a/sd-emutos/emusd.c b/sd-emutos/emusd.c index 421ad88..6d9bbd2 100644 --- a/sd-emutos/emusd.c +++ b/sd-emutos/emusd.c @@ -14,6 +14,7 @@ #include #include "cookie.h" +#include "xhdi.h" #define XHDIMAGIC 0x27011992L