From a1339466880b1dcaff2d2419f7d5aa5bd09fa1de Mon Sep 17 00:00:00 2001 From: Přemysl Janouch Date: Thu, 11 Sep 2014 08:10:33 +0200 Subject: Write stubs for the plugins Make them compile. --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 87a593e..8a75a99 100644 --- a/Makefile +++ b/Makefile @@ -9,13 +9,15 @@ LDFLAGS = `pkg-config --libs libssl` -lpthread -lrt -ldl .PHONY: all clean .SUFFIXES: -targets = ponymap +targets = ponymap plugins/http.so plugins/irc.so all: $(targets) clean: rm -f $(targets) -ponymap: ponymap.c utils.c siphash.c +ponymap: ponymap.c utils.c plugin-api.h siphash.c $(CC) ponymap.c siphash.c -o $@ $(CFLAGS) $(LDFLAGS) +plugins/%.so: plugins/%.c utils.c plugin-api.h + $(CC) $< -o $@ $(CFLAGS) $(LDFLAGS) -shared -fPIC -- cgit v1.2.3-54-g00ecf