From 9c29667d060e6f1d00a9ad7997c4b357db3aa2ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Tue, 10 Aug 2010 10:52:33 +0300 Subject: squark: split generic blob code to it's own file it's useful in other binaries than squark-auth too. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') 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: -- cgit v1.2.3