summaryrefslogtreecommitdiffhomepage
path: root/Makefile
blob: 3080f62312296072e9d8d8686c02b71454fd8f2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 *~