aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJosh Allen <axlecrusher@gmail.com>2017-02-13 15:57:41 -0500
committerJosh Allen <axlecrusher@gmail.com>2017-02-13 15:57:41 -0500
commit6c99f7abf29463df723221dcaa8c3fe7c93c3371 (patch)
tree562b87e108460eea416cedc183b1ce333bee386e /Makefile
parentfa88e40fa07c3cf425b45fe56cf6dda613545e36 (diff)
parentee433e4a076f77fa28e4d55d6703d6ed7c599251 (diff)
downloadlibsurvive-6c99f7abf29463df723221dcaa8c3fe7c93c3371.tar.gz
libsurvive-6c99f7abf29463df723221dcaa8c3fe7c93c3371.tar.bz2
Merge github.com:cnlohr/libsurvive
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 8279efa..dbd4869 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
all : lib data_recorder test
-CFLAGS:=-Iinclude -fPIC -g -Os -Iredist -flto -DUSE_OLD_DISAMBIGUATOR
+CFLAGS:=-Iinclude -fPIC -g -Os -Iredist -flto
LDFLAGS:=-lpthread -lusb-1.0 -lz -lX11 -flto
test : test.c lib/libsurvive.so redist/os_generic.o
@@ -12,7 +12,7 @@ data_recorder : data_recorder.c lib/libsurvive.so redist/os_generic.o redist/Dra
lib:
mkdir lib
-lib/libsurvive.so : src/survive.o src/survive_usb.o src/survive_data.o src/survive_process.o src/disambiguator.c redist/jsmn.o $(DEBUGSTUFF)
+lib/libsurvive.so : src/survive.o src/survive_usb.o src/survive_data.o src/survive_process.o redist/jsmn.o $(DEBUGSTUFF)
gcc -o $@ $^ $(LDFLAGS) -shared
clean :