]> git.proxmox.com Git - qemu.git/commitdiff
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 87360906d7a55c7a0f7b00c2d915bf4aa869030d..332058642a5502190eff0d00a7b2677e996eb695 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 $<