From 2143c3c91fd83612328e9273ba208e7056a5f4cd Mon Sep 17 00:00:00 2001 From: chris mikkelson Date: Mon, 6 Apr 2009 14:56:37 -0500 Subject: [PATCH] Added 'tags' target to maintain ctags. --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d7e6048..3ee33b9 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,14 @@ CFLAGS=-g -Wall -I/usr/local/include +SMTPSINK_SRCS=conn_pool.c conn_queue.c io.c smtp.c smtpsink.c + SMTPSINK_OBJS=conn_pool.o conn_queue.o io.o smtp.o smtpsink.o default: smtpsink +tags: $(SMTPSINK_SRCS) + ctags $(SMTPSINK_SRCS) + smtpsink: $(SMTPSINK_OBJS) cc -o smtpsink $(SMTPSINK_OBJS) -L/usr/local/lib -levent -lpthread @@ -22,4 +27,4 @@ smtp.o: smtp.c smtpsink.h conn_queue.h smtpsink-int.h responses.inc smtpsink.o: smtpsink.c smtpsink.h conn_queue.h smtpsink-int.h clean: - rm -f $(SMTPSINK_OBJS) smtpsink + rm -f $(SMTPSINK_OBJS) smtpsink tags -- 2.50.1