kernel/Tupfile

8 lines
342 B
Plaintext
Raw Normal View History

2024-03-19 09:23:45 -05:00
include_rules
LDFLAGS = -z max-page-size=4096 --orphan-handling=error -T kernel.ld
ASFLAGS = -m68010 -spaces -Felf -ldots -align -quiet -x -nowarn=62
: foreach *.68k | ../<include> |> vasmm68k_mot $(ASFLAGS) -I../sysroot/usr/include -o %o %f |> %B.o
: *.o | kernel.ld ../<libstd> |> m68k-elf-ld $(LDFLAGS) -o %o %f '%<libstd>' |> kernel