summaryrefslogtreecommitdiffhomepage
path: root/Makefile
blob: 6c0f91a35fa3120b54696127c92470e6e43ff73c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
all:
	$(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
	cp libpsxscl.so libpsxscl.lib.a libpsxscl.a $(DESTDIR)/lib


clean:
	rm -f *.so
	rm -f *.o
	rm -f *.a
	rm -f *~