blob: f4e2124e4a9a259d934fca9667642d4b61185df2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
CC = g++ -O2
TARGET_BASENAME = libjunbound.so
CPPFLAGS = \
-Wall -Wreturn-type \
-fpic \
-DJNI_IMPLEMENTATION \
-I/usr/lib/jvm/java-6-openjdk/include
LDFLAGS = -shared
LIBS = -lunbound
TARGET = $(TARGET_BASENAME)
$(TARGET): src/*.cpp
$(CC) $(CPPFLAGS) $^ $(LDFLAGS) -o $@ $(LIBS)
-strip $(TARGET)
|