diff options
| author | Přemysl Janouch <p.janouch@gmail.com> | 2014-09-11 08:10:33 +0200 | 
|---|---|---|
| committer | Přemysl Janouch <p.janouch@gmail.com> | 2014-09-11 08:10:33 +0200 | 
| commit | a1339466880b1dcaff2d2419f7d5aa5bd09fa1de (patch) | |
| tree | f63a46ed2d7cb0c7e5a91c8b8167365fd4eda0e4 /Makefile | |
| parent | 241bc64a11da5ddfa60b2242f39c944abaf02cb5 (diff) | |
| download | ponymap-a1339466880b1dcaff2d2419f7d5aa5bd09fa1de.tar.gz ponymap-a1339466880b1dcaff2d2419f7d5aa5bd09fa1de.tar.xz ponymap-a1339466880b1dcaff2d2419f7d5aa5bd09fa1de.zip | |
Write stubs for the plugins
Make them compile.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 | 
1 files changed, 4 insertions, 2 deletions
| @@ -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 | 
