8 lines
342 B
Plaintext
8 lines
342 B
Plaintext
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
|