From e598b55b212a1727834c09fdb4c6eb0bc4b0cda8 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Mon, 10 Aug 2020 18:07:59 -0400 Subject: contrib/palaver: Implement command and notifications Squashed commit: Ignore messages older than a minute If pounce-palaver has been down for a time and pounce is sending it a huge buffer, it shouldn't send a notification for everything in the buffer. --- contrib/palaver/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 contrib/palaver/Makefile (limited to 'contrib/palaver/Makefile') diff --git a/contrib/palaver/Makefile b/contrib/palaver/Makefile new file mode 100644 index 0000000..5810ce2 --- /dev/null +++ b/contrib/palaver/Makefile @@ -0,0 +1,12 @@ +CFLAGS += -std=c11 -Wall -Wextra -Wpedantic +LDLIBS = -lcurl -lsqlite3 -ltls + +-include config.mk + +OBJS = notify.o + +pounce-palaver: ${OBJS} + ${CC} ${LDFLAGS} ${OBJS} ${LDLIBS} -o $@ + +clean: + rm -f pounce-palaver ${OBJS} -- cgit 1.4.1