From 3ffebff2aad2ca438cf76db51fb3459c5639cd67 Mon Sep 17 00:00:00 2001 From: lameguy64 Date: Thu, 23 May 2019 22:24:56 +0800 Subject: Added BIOS Controller, BIOS CD, 2 new examples and custom exit handler in the works --- examples/cartrom/makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 examples/cartrom/makefile (limited to 'examples/cartrom/makefile') diff --git a/examples/cartrom/makefile b/examples/cartrom/makefile new file mode 100644 index 0000000..2434685 --- /dev/null +++ b/examples/cartrom/makefile @@ -0,0 +1,14 @@ +PREFIX = mipsel-unknown-elf- + +CC = $(PREFIX)gcc +AS = $(PREFIX)as +LD = $(PREFIX)ld + +all: rom.o + $(LD) --oformat binary -T rom.ld -o cartrom.rom rom.o + +%.o: %.s + $(AS) -msoft-float --warn $< -o $@ + +clean: + rm -f rom.o cartrom.rom \ No newline at end of file -- cgit v1.2.3