From 5d2af67a5378711a4257b14c60cec61c0f127f4e Mon Sep 17 00:00:00 2001 From: midipix Date: Mon, 23 Mar 2015 20:58:25 -0400 Subject: libpsxscl: stub for toolchain build --- Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..3080f62 --- /dev/null +++ b/Makefile @@ -0,0 +1,17 @@ +all: + x86_64-nt64-midipix-gcc -shared -nostdlib -mout-implib -olibpsxscl.so stub.s + x86_64-nt64-midipix-as -o stub.o stub.s + x86_64-nt64-midipix-ar rc libpsxscl.a stub.o + x86_64-nt64-midipix-ranlib libpsxscl.a + + +install: all + mkdir -p $(DESTDIR)/lib + cp -t $(DESTDIR)/lib libpsxscl.so libpsxscl.lib.a libpsxscl.a + + +clean: + rm -f *.so + rm -f *.o + rm -f *.a + rm -f *~ -- cgit v1.2.3