From 8388ca81fbc6c0a840e81f6fd805b897d378556b Mon Sep 17 00:00:00 2001 From: cnlohr Date: Tue, 29 Nov 2016 03:03:34 -0500 Subject: Add a basic vive driver. Gotta figure out how to turn it on. --- Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..b213a03 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +all : test + +CFLAGS:=-Iinclude -fPIC -g +LDFLAGS:=-lpthread -lusb-1.0 + +test : test.c lib/libsurvive.so + gcc -o $@ $^ $(LDFLAGS) $(CFLAGS) + +lib/libsurvive.so : src/os_generic.o src/survive.o src/survive_usb.o + gcc -o $@ $^ $(LDFLAGS) -shared + +clean : + rm -rf *.o src/*.o *~ src/*~ test libsurvive.so + + + -- cgit v1.2.3