diff options
author | mwturvey <michael.w.turvey@intel.com> | 2017-02-27 11:26:05 -0700 |
---|---|---|
committer | mwturvey <michael.w.turvey@intel.com> | 2017-02-27 11:26:05 -0700 |
commit | 321749a4b8e3e8b3f4b03863200fbf86e36a0bbe (patch) | |
tree | b7d81c89b3a4ccb72d46e5194929b47df88345b7 /Makefile | |
parent | d1a02d649c034f43a11548a04d8d2a58786ff8ff (diff) | |
parent | 51751d4a9f407f526de2b626d44e14690fbef004 (diff) | |
download | libsurvive-321749a4b8e3e8b3f4b03863200fbf86e36a0bbe.tar.gz libsurvive-321749a4b8e3e8b3f4b03863200fbf86e36a0bbe.tar.bz2 |
Merge branch 'master' of https://github.com/cnlohr/libsurvive
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -1,6 +1,6 @@ -all : lib data_recorder test calibrate +all : lib data_recorder test calibrate calibrate_client -CFLAGS:=-Iinclude -fPIC -g -O0 -Iredist -flto +CFLAGS:=-Iinclude -I. -fPIC -g -O0 -Iredist -flto -DUSE_DOUBLE -std=gnu99 LDFLAGS:=-lpthread -lusb-1.0 -lz -lX11 -lm -flto -g @@ -17,10 +17,13 @@ data_recorder : data_recorder.c lib/libsurvive.so redist/os_generic.o redist/Dra calibrate : calibrate.c lib/libsurvive.so redist/os_generic.c redist/DrawFunctions.c redist/XDriver.c gcc -o $@ $^ $(LDFLAGS) $(CFLAGS) +calibrate_client : calibrate_client.c lib/libsurvive.so redist/os_generic.c redist/DrawFunctions.c redist/XDriver.c + gcc -o $@ $^ $(LDFLAGS) $(CFLAGS) + 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 $(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 : |