From 4ed5c88bc029685eb9750ddc5f45b07fcb343d06 Mon Sep 17 00:00:00 2001 From: chris mikkelson Date: Mon, 6 Apr 2009 15:01:45 -0500 Subject: [PATCH] Added 'tags' target to manage ctags. --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 73abcb5..05d396e 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,16 @@ CFLAGS=-g -Wall -I/usr/local/include +SMTPSINK_SRCS=conn_pool.c conn_queue.c io.c smtp.c \ + module.c module_api.c smtpsink.c + SMTPSINK_OBJS=conn_pool.o conn_queue.o io.o smtp.o \ module.o module_api.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 @@ -30,4 +36,4 @@ module_api.o: module_api.c smtpsink.h 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