about summary refs log tree commit diff
path: root/contrib/palaver/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-08-10 18:07:59 -0400
committerJune McEnroe <june@causal.agency>2020-08-11 14:59:07 -0400
commite598b55b212a1727834c09fdb4c6eb0bc4b0cda8 (patch)
tree4c34e327e6c65112cc31d4cc78be1a80642c03b9 /contrib/palaver/Makefile
parentcontrib/palaver: Add prospective manual page (diff)
downloadpounce-e598b55b212a1727834c09fdb4c6eb0bc4b0cda8.tar.gz
pounce-e598b55b212a1727834c09fdb4c6eb0bc4b0cda8.zip
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.
Diffstat (limited to '')
-rw-r--r--contrib/palaver/Makefile12
1 files changed, 12 insertions, 0 deletions
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}