From c4b3c14cee66da31b399fb88766df87c95c464ce Mon Sep 17 00:00:00 2001 From: Rob Austein Date: Tue, 16 Jun 2015 19:50:43 -0400 Subject: Add tags target to GNUmakefile. --- .gitignore | 5 +++-- GNUmakefile | 7 ++++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 1671173..e1858fb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ *~ -tomsfastmath -tfm.h +TAGS libtfm.a +tfm.h +tomsfastmath diff --git a/GNUmakefile b/GNUmakefile index c3377cd..533bb42 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -20,7 +20,7 @@ clean: cd ${REPO}; git clean -dxf distclean: clean - rm -rf ${REPO} + rm -rf ${REPO} TAGS ${HDR}: git clone -q ${URL} @@ -35,3 +35,8 @@ $(notdir ${HDR}): ${HDR} $(notdir ${LIB}): ${LIB} ln -f $^ $@ + +tags: TAGS + +TAGS: ${HDR} + find ${REPO} -type f -name '*.[ch]' -print | etags - -- cgit v1.2.3