summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 55f0d96..09c58d4 100644
--- a/Makefile
+++ b/Makefile
@@ -12,11 +12,11 @@ CFLAGS=-g -I. $(NETSNMP_CFLAGS) $(LUA_CFLAGS) $(CMPH_CFLAGS) -std=gnu99 -D_GNU_S
all: $(TARGETS)
-squark-auth-snmp: squark-auth-snmp.o blob.o
+squark-auth-snmp: squark-auth-snmp.o blob.o addr.o
$(CC) -o $@ $^ $(NETSNMP_LIBS)
-squark-filter: squark-filter.o filterdb.o blob.o
- $(CC) -o $@ $^ $(CMPH_LIBS)
+squark-filter: squark-filter.o filterdb.o authdb.o blob.o addr.o
+ $(CC) -o $@ $^ $(CMPH_LIBS) -lrt
squarkdb.so: lua-squarkdb.o filterdb.o blob.o
$(CC) -shared -o $@ $^ $(LUA_LIBS) $(CMPH_LIBS)