From 898a9a5f242a1691e1c34062208b48cb0682b5d9 Mon Sep 17 00:00:00 2001 From: cnlohr Date: Fri, 16 Dec 2016 00:41:28 -0500 Subject: Remove dependency on Xinerama Improve camfinder a little Add data_recorder.c Closes #1 making libsurvive much more pluggable. --- Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 29c05a1..d688287 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,12 @@ -all : test +all : data_recorder test CFLAGS:=-Iinclude -fPIC -g -Os -Iredist -LDFLAGS:=-lpthread -lusb-1.0 -lz -lX11 -lXinerama -DEBUGSTUFF:=redist/os_generic.o redist/DrawFunctions.o redist/XDriver.o +LDFLAGS:=-lpthread -lusb-1.0 -lz -lX11 -test : test.c lib/libsurvive.so +test : test.c lib/libsurvive.so redist/os_generic.o + gcc -o $@ $^ $(LDFLAGS) $(CFLAGS) + +data_recorder : data_recorder.c lib/libsurvive.so redist/os_generic.o redist/DrawFunctions.o redist/XDriver.o gcc -o $@ $^ $(LDFLAGS) $(CFLAGS) lib/libsurvive.so : src/survive.o src/survive_usb.o src/survive_data.o src/survive_process.o redist/jsmn.o $(DEBUGSTUFF) -- cgit v1.2.3