From 4b31f327cd0dd7bc5f089fdb4904f34efbda574b Mon Sep 17 00:00:00 2001 From: Dan Hirsch <thequux@thequux.com> Date: Sat, 12 May 2012 01:28:16 +0100 Subject: [PATCH] Now build tags file --- .gitignore | 1 + Makefile | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 19e3f19..26d8857 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ *.a src/test_suite lib/hush +TAGS diff --git a/Makefile b/Makefile index fbb2b07..e4f5379 100644 --- a/Makefile +++ b/Makefile @@ -23,3 +23,6 @@ $(foreach dir,$(SUBDIRS),$(eval $(call SUBDIR_TEMPLATE,$(dir)))) #.DEFAULT: # $(if $(findstring ./,$(dir $@)),$(error No rule to make target `$@'),$(MAKE) -C $(dir $@) $(notdir $@)) + +TAGS: $(shell find * -name "*.c") + etags $^ -- GitLab