From 2b9244fd6b80e6bd8472fe805ce6cf734754ce31 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Sat, 19 Oct 2019 21:31:11 -0400 Subject: Move listen code to listen.c --- Makefile | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'Makefile') 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} -- cgit 1.4.1