diff options
author | CNLohr <charles@cnlohr.com> | 2016-12-19 23:06:40 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-19 23:06:40 -0500 |
commit | 689ab79972b969f6eff4adcfca71fec567006e93 (patch) | |
tree | 8990cfd9bdfd4c9f7b3043636f26659d96b11c84 /Makefile | |
parent | fd03e41bb541807ca441f77d36f2898c0ef01045 (diff) | |
parent | ac7e398c5d81efda7c5427ca9ca19b44cc945b22 (diff) | |
download | libsurvive-689ab79972b969f6eff4adcfca71fec567006e93.tar.gz libsurvive-689ab79972b969f6eff4adcfca71fec567006e93.tar.bz2 |
Merge pull request #9 from jpicht/disambiguate
Disambiguate
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,4 @@ -all : data_recorder test +all : lib data_recorder test CFLAGS:=-Iinclude -fPIC -g -Os -Iredist LDFLAGS:=-lpthread -lusb-1.0 -lz -lX11 @@ -9,6 +9,9 @@ test : test.c lib/libsurvive.so redist/os_generic.o data_recorder : data_recorder.c lib/libsurvive.so redist/os_generic.o redist/DrawFunctions.o redist/XDriver.o 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 $(DEBUGSTUFF) gcc -o $@ $^ $(LDFLAGS) -shared |