2024-03-19 09:23:45 -05:00
|
|
|
include_rules
|
|
|
|
|
|
|
|
LDFLAGS = -z max-page-size=4096 --orphan-handling=error -T kernel.ld
|
2024-03-21 08:42:56 -05:00
|
|
|
ASFLAGS = -m68010 -spaces -Felf -ldots -align -quiet -x -nowarn=62 -D__FREESTANDING
|
2024-03-19 09:23:45 -05:00
|
|
|
|
|
|
|
: 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
|