diff --git a/Tupfile b/Tupfile index 2191fa0..57e161f 100644 --- a/Tupfile +++ b/Tupfile @@ -1,7 +1,7 @@ include_rules LDFLAGS = -z max-page-size=4096 --orphan-handling=error -T kernel.ld -ASFLAGS = -m68010 -spaces -Felf -ldots -align -quiet -x -nowarn=62 +ASFLAGS = -m68010 -spaces -Felf -ldots -align -quiet -x -nowarn=62 -D__FREESTANDING : foreach *.68k | ../ |> vasmm68k_mot $(ASFLAGS) -I../sysroot/usr/include -o %o %f |> %B.o : *.o | kernel.ld ../ |> m68k-elf-ld $(LDFLAGS) -o %o %f '%' |> kernel