aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore5
-rw-r--r--GNUmakefile7
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 -