aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2015-06-16 19:50:43 -0400
committerRob Austein <sra@hactrn.net>2015-06-16 19:50:43 -0400
commitc4b3c14cee66da31b399fb88766df87c95c464ce (patch)
tree49138de2844619a04ef8e9bc3d6e2336a98678b4 /GNUmakefile
parent1fd31410722c665e68832fa59bdc1a624a4f0bef (diff)
Add tags target to GNUmakefile.
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile7
1 files changed, 6 insertions, 1 deletions
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 -