From 44d7e56bf6a419104fee5dd2aedc26e00e543d69 Mon Sep 17 00:00:00 2001 From: Charles Lohr Date: Sun, 11 Dec 2016 00:03:40 -0500 Subject: * Get config from headset. * Make pretty display. * Improve disambiguation. --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 77aee01..29c05a1 100644 --- a/Makefile +++ b/Makefile @@ -1,12 +1,13 @@ all : test -CFLAGS:=-Iinclude -fPIC -g -Os -LDFLAGS:=-lpthread -lusb-1.0 -lz +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 test : test.c lib/libsurvive.so gcc -o $@ $^ $(LDFLAGS) $(CFLAGS) -lib/libsurvive.so : src/survive.o src/survive_usb.o src/survive_data.o src/survive_process.o +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 : -- cgit v1.2.3