diff options
author | cnlohr <lohr85@gmail.com> | 2016-11-29 03:03:34 -0500 |
---|---|---|
committer | cnlohr <lohr85@gmail.com> | 2016-11-29 03:03:34 -0500 |
commit | 8388ca81fbc6c0a840e81f6fd805b897d378556b (patch) | |
tree | a267870139b2269ec734813e979ef95302398409 /Makefile | |
parent | 570309192b066ae1a440988c2a51dc0a17fa2b1a (diff) | |
download | libsurvive-8388ca81fbc6c0a840e81f6fd805b897d378556b.tar.gz libsurvive-8388ca81fbc6c0a840e81f6fd805b897d378556b.tar.bz2 |
Add a basic vive driver. Gotta figure out how to turn it on.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
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 + + + |