diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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) |