summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d4b84a6..499eb67 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-TARGETS=squark-auth squarkdb.so
+TARGETS=squark-auth squark-filter squarkdb.so
NETSNMP_CFLAGS:=$(shell net-snmp-config --cflags)
NETSNMP_LIBS:=$(shell net-snmp-config --libs)
@@ -15,6 +15,9 @@ all: $(TARGETS)
squark-auth: squark-auth.o blob.o
$(CC) -o $@ $^ $(NETSNMP_LIBS)
+squark-filter: squark-filter.o squarkdb.o blob.o
+ $(CC) -o $@ $^ $(CMPH_LIBS)
+
squarkdb.so: lua-squarkdb.o squarkdb.o blob.o
$(CC) -shared -o $@ $^ $(LUA_LIBS) $(CMPH_LIBS)