summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-03-28 14:12:15 -0400
committermidipix <writeonce@midipix.org>2015-03-28 14:12:15 -0400
commit0fd537b7c6c89d5d397b33257dc6f29d4efc0dd7 (patch)
tree052e7eb7c07f45a1149ba6dbdbe219e88372f347 /Makefile
parent70b759086d55cfe590b964d0e0165a1dd06faa15 (diff)
downloadpsxstub-0fd537b7c6c89d5d397b33257dc6f29d4efc0dd7.tar.bz2
psxstub-0fd537b7c6c89d5d397b33257dc6f29d4efc0dd7.tar.xz
Makefile: add configurable TARGET support.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files 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