From f5b12b8da246c56b00155c90d53662d80c3dca83 Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Tue, 27 Mar 2012 11:31:33 +0300 Subject: [PATCH] Makefile cleanups - remove plproxy.so even when building something else - Use ctags for tags --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 0accbc5..20ac511 100644 --- a/Makefile +++ b/Makefile @@ -17,7 +17,7 @@ MODULE_big = $(EXTENSION) SRCS = src/cluster.c src/execute.c src/function.c src/main.c \ src/query.c src/result.c src/type.c src/poll_compat.c OBJS = src/scanner.o src/parser.tab.o $(SRCS:.c=.o) -EXTRA_CLEAN = src/scanner.[ch] src/parser.tab.[ch] libplproxy.* +EXTRA_CLEAN = src/scanner.[ch] src/parser.tab.[ch] libplproxy.* plproxy.so SHLIB_LINK = -L$(PQLIB) -lpq # Server include must come before client include, because there could @@ -110,8 +110,8 @@ src/poll_compat.o: src/poll_compat.h # utility rules -tags: - cscope -I src -b -f .cscope.out src/*.c +tags: $(SRCS) $(HDRS) + ctags $(SRCS) $(HDRS) tgz: git archive -o $(DISTNAME).tar.gz --prefix=$(DISTNAME)/ HEAD -- 2.39.5