8 lines
286 B
Plaintext
8 lines
286 B
Plaintext
.gitignore
|
|
LDFLAGS = -z max-page-size=1 --orphan-handling=error -T rom.ld
|
|
ASFLAGS = -m68010 --register-prefix-optional
|
|
|
|
: rom.68k |> m68k-elf-as $(ASFLAGS) -o %o %f |> rom.o
|
|
: rom.o |> m68k-elf-ld $(LDFLAGS) -o %o %f |> rom.elf
|
|
: rom.elf |> m68k-elf-objcopy -O binary %f %o |> rom.bin
|