aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index b213a03..1e6c706 100644
--- a/Makefile
+++ b/Makefile
@@ -1,12 +1,12 @@
all : test
-CFLAGS:=-Iinclude -fPIC -g
+CFLAGS:=-Iinclude -fPIC -g -Os
LDFLAGS:=-lpthread -lusb-1.0
test : test.c lib/libsurvive.so
gcc -o $@ $^ $(LDFLAGS) $(CFLAGS)
-lib/libsurvive.so : src/os_generic.o src/survive.o src/survive_usb.o
+lib/libsurvive.so : src/os_generic.o src/survive.o src/survive_usb.o src/survive_data.o
gcc -o $@ $^ $(LDFLAGS) -shared
clean :