aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorcnlohr <lohr85@gmail.com>2017-02-14 10:03:18 -0500
committercnlohr <lohr85@gmail.com>2017-02-14 10:03:18 -0500
commit119a205619632076c7b258eaa6c28dd7bcd2c294 (patch)
treed99f9611314c7a565190570e2c337f8ffc6ae9c3 /Makefile
parent1f760c1341cd170f3cf519b5b01c1fa8c5b9c610 (diff)
downloadlibsurvive-119a205619632076c7b258eaa6c28dd7bcd2c294.tar.gz
libsurvive-119a205619632076c7b258eaa6c28dd7bcd2c294.tar.bz2
integrate josh's new work. It works! #19 is just about solved!
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c0a4caa..797c257 100644
--- a/Makefile
+++ b/Makefile
@@ -3,13 +3,15 @@ all : lib data_recorder test calibrate
CFLAGS:=-Iinclude -fPIC -g -Os -Iredist -flto
LDFLAGS:=-lpthread -lusb-1.0 -lz -lX11 -flto
+# unused: redist/crc32.c
+
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)
-calibrate : calibrate.c lib/libsurvive.so redist/os_generic.c redist/DrawFunctions.c redist/XDriver.c redist/crc32.c
+calibrate : calibrate.c lib/libsurvive.so redist/os_generic.c redist/DrawFunctions.c redist/XDriver.c
gcc -o $@ $^ $(LDFLAGS) $(CFLAGS)
lib: