cscope rule
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 21 Aug 2005 09:23:39 +0000 (09:23 +0000)
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
Sun, 21 Aug 2005 09:23:39 +0000 (09:23 +0000)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1541 c046a42c-6fe2-441c-8c8c-71466251a162

Makefile

index 8736090..3320586 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -84,6 +84,11 @@ test speed test2: all
 TAGS: 
        etags *.[ch] tests/*.[ch]
 
+cscope:
+       rm -f ./cscope.*
+       find . -name "*.[ch]" -print > ./cscope.files
+       cscope -b
+
 # documentation
 %.html: %.texi
        texi2html -monolithic -number $<