aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorOmar Polo <op@omarpolo.com>2023-05-08 10:30:00 +0000
committerOmar Polo <op@omarpolo.com>2023-05-08 10:30:00 +0000
commit34886b1e55ef0eda629b22742e7173fea04bf8f7 (patch)
treed9e31c87a92072d1c14cf6bf4e010c0c88f1b883 /Makefile
parent1e0b974519c8228e271b2b6e677c1b8f9a109b6b (diff)
add tags target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b500736..7a97ab5 100644
--- a/Makefile
+++ b/Makefile
@@ -64,7 +64,7 @@ SRCS = gmid.h \
DISTNAME = gmid-${VERSION}
all: Makefile.local gmid ge gg
-.PHONY: all static clean cleanall test regress install
+.PHONY: all tags static clean cleanall test regress install
Makefile.local config.h: configure
@echo "$@ is out of date; please run ./configure"
@@ -73,6 +73,9 @@ Makefile.local config.h: configure
include Makefile.local
include Makefile.depend
+tags:
+ ctags ${SRCS}
+
y.tab.c: parse.y
${YACC} -b y parse.y