aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-03-18 05:59:14 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-03-18 05:59:14 +0000
commit432eeecd1dbca600d969b5f258b9ebd5452f37ac (patch)
treedc3af9e1a616266c3690a72dd36f1e95258fd906 /Makefile
parentaa3e0d292065fd50713b4c70647063c32d99a36a (diff)
Add 'make cscope.files' top level target.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67168 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 660f0e922b..b4f60a8716 100644
--- a/Makefile
+++ b/Makefile
@@ -23,4 +23,10 @@ clean::
tags::
$(Verb) etags `find . -type f -name \*.h | grep -v /lib/Headers | grep -v /test/` `find . -type f -name \*.cpp | grep -v /lib/Headers | grep -v /test/`
-.PHONY: test report clean
+cscope.files:
+ find Driver lib include -name '*.cpp' \
+ -or -name '*.def' \
+ -or -name '*.td' \
+ -or -name '*.h' > cscope.files
+
+.PHONY: test report clean cscope.files