summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2010-08-10 10:52:33 +0300
committerTimo Teräs <timo.teras@iki.fi>2010-08-10 10:52:33 +0300
commit9c29667d060e6f1d00a9ad7997c4b357db3aa2ac (patch)
tree2c457dbd29f1f081f854dea1591cac77c6a4c418 /Makefile
parentb5a5dd614101000f653e6ecb96ab34ae3f44353f (diff)
downloadsquark-9c29667d060e6f1d00a9ad7997c4b357db3aa2ac.tar.bz2
squark-9c29667d060e6f1d00a9ad7997c4b357db3aa2ac.tar.xz
squark: split generic blob code to it's own file
it's useful in other binaries than squark-auth too.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 329c66a..d4b84a6 100644
--- a/Makefile
+++ b/Makefile
@@ -12,10 +12,10 @@ CFLAGS=-g -I. $(NETSNMP_CFLAGS) $(LUA_CFLAGS) $(CMPH_CFLAGS) -std=gnu99 -Wall
all: $(TARGETS)
-squark-auth: squark-auth.o
- $(CC) -o $@ $< $(NETSNMP_LIBS)
+squark-auth: squark-auth.o blob.o
+ $(CC) -o $@ $^ $(NETSNMP_LIBS)
-squarkdb.so: lua-squarkdb.o squarkdb.o
+squarkdb.so: lua-squarkdb.o squarkdb.o blob.o
$(CC) -shared -o $@ $^ $(LUA_LIBS) $(CMPH_LIBS)
clean: