aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorcnlohr <lohr85@gmail.com>2017-02-25 23:52:48 -0500
committercnlohr <lohr85@gmail.com>2017-02-25 23:52:48 -0500
commit55cedfc6a6b035d6eb54457782818fef61cae500 (patch)
treeca11020aeb8970830a6f52ada199767686078fd4 /Makefile
parentf92f5dc93cbb53a99da51984541a7e4a70605639 (diff)
downloadlibsurvive-55cedfc6a6b035d6eb54457782818fef61cae500.tar.gz
libsurvive-55cedfc6a6b035d6eb54457782818fef61cae500.tar.bz2
Huge shift: Put HTC vive into its own file, to free up the rest of the system for libsurvive.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index fb74e75..cf237f2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
all : lib data_recorder test calibrate
-CFLAGS:=-Iinclude -fPIC -g -O0 -Iredist -flto -DUSE_DOUBLE
+CFLAGS:=-Iinclude -I. -fPIC -g -O0 -Iredist -flto -DUSE_DOUBLE
LDFLAGS:=-lpthread -lusb-1.0 -lz -lX11 -lm -flto -g
@@ -20,7 +20,7 @@ calibrate : calibrate.c lib/libsurvive.so redist/os_generic.c redist/DrawFuncti
lib:
mkdir lib
-lib/libsurvive.so : src/survive.o src/survive_usb.o src/survive_data.o src/survive_process.o redist/jsmn.o src/ootx_decoder.o redist/linmath.o $(DEBUGSTUFF) $(CALS)
+lib/libsurvive.so : src/survive.o src/survive_usb.o src/survive_data.o src/survive_process.o redist/jsmn.o src/ootx_decoder.o redist/linmath.o src/survive_driverman.o src/survive_vive.o $(DEBUGSTUFF) $(CALS)
gcc -o $@ $^ $(LDFLAGS) -shared
clean :