From 0fd537b7c6c89d5d397b33257dc6f29d4efc0dd7 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 28 Mar 2015 14:12:15 -0400 Subject: Makefile: add configurable TARGET support. --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 3080f62..f750b67 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,9 @@ 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 - + $(TARGET)-gcc -shared -nostdlib -mout-implib -olibpsxscl.so stub.s + $(TARGET)-as -o stub.o stub.s + $(TARGET)-ar rc libpsxscl.a stub.o + $(TARGET)-ranlib libpsxscl.a + install: all mkdir -p $(DESTDIR)/lib -- cgit v1.2.3