[Cryptech-Commits] [sw/thirdparty/libtfm] 02/10: Add tags target to GNUmakefile.

git at cryptech.is git at cryptech.is
Tue Jul 7 18:23:24 UTC 2015


This is an automated email from the git hooks/post-receive script.

sra at hactrn.net pushed a commit to branch master
in repository sw/thirdparty/libtfm.

commit c4b3c14cee66da31b399fb88766df87c95c464ce
Author: Rob Austein <sra at hactrn.net>
Date:   Tue Jun 16 19:50:43 2015 -0400

    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 -



More information about the Commits mailing list