aboutsummaryrefslogtreecommitdiff
path: root/flow/src/main/native/posix/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'flow/src/main/native/posix/Makefile')
-rw-r--r--flow/src/main/native/posix/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/flow/src/main/native/posix/Makefile b/flow/src/main/native/posix/Makefile
index 81e0fad..22338e5 100644
--- a/flow/src/main/native/posix/Makefile
+++ b/flow/src/main/native/posix/Makefile
@@ -5,7 +5,7 @@ TARGET?=libflow.so
MAJOR_VERSION=2
CC=$(CROSS_COMPILE)gcc
-CFLAGS= -O2 -fPIC
+CFLAGS= -O2 -fPIC -Wall
LD=$(CROSS_COMPILE)ld
LDFLAGS=-shared -Wl,-soname,$(TARGET).$(MAJOR_VERSION)
INCLUDES?=../include/ /usr/lib/jvm/java-7-oracle/include/ /usr/lib/jvm/java-7-oracle/include/linux/
@@ -15,7 +15,7 @@ OBJECTS=flow.o flow_jni.o
all: $(TARGET)
$(TARGET): $(OBJECTS)
- $(CC) $(LDFLAGS) -o $@ $<
+ $(CC) $(LDFLAGS) -o $@ $^
%.o: %.c
$(CC) $(CFLAGS) $(addprefix -I, $(INCLUDES)) -o $@ -c $<