about summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-10-19 21:31:11 -0400
committerJune McEnroe <june@causal.agency>2019-10-19 21:31:11 -0400
commit2b9244fd6b80e6bd8472fe805ce6cf734754ce31 (patch)
treeba8df5bf168e90dd1c817238ba87a1a2c09bd9b2 /Makefile
parentBind to all available addresses (diff)
downloadpounce-2b9244fd6b80e6bd8472fe805ce6cf734754ce31.tar.gz
pounce-2b9244fd6b80e6bd8472fe805ce6cf734754ce31.zip
Move listen code to listen.c
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 15 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 9ae0ed7..c974242 100644
--- a/Makefile
+++ b/Makefile
@@ -7,4 +7,18 @@ LDLIBS = -ltls
 
 -include config.mk
 
-linger:
+OBJS += bouncer.o
+OBJS += listen.o
+
+all: tags linger
+
+linger: ${OBJS}
+	${CC} ${LDFLAGS} ${OBJS} ${LDLIBS} -o $@
+
+${OBJS}: bouncer.h
+
+tags: *.c *.h
+	ctags -w *.c *.h
+
+clean:
+	rm -f tags linger ${OBJS}