[Bro-Dev] [JIRA] (BIT-1300) add cscope to Makefile

jdonnelly (JIRA) jira at bro-tracker.atlassian.net
Thu Dec 18 06:08:00 PST 2014


    [ https://bro-tracker.atlassian.net/browse/BIT-1300?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=19301#comment-19301 ] 

jdonnelly commented on BIT-1300:
--------------------------------

diff --git a/Makefile b/Makefile
index 9feaecd..653a498 100644
--- a/Makefile
+++ b/Makefile
@@ -63,4 +63,9 @@ configured:
        @test -d $(BUILD) || ( echo "Error: No build/ directory found. Did you run configure?" && exit 1 )
        @test -e $(BUILD)/Makefile || ( echo "Error: No build/Makefile found. Did you run configure?" && exit 1 )
 
-.PHONY : all install clean doc docclean dist bindist distclean configured
+cscope:
+       @find . -name "*.[ch]" > cscope.files
+       @find . -name "*.cc" >> cscope.files
+       @cscope -b 
+
+.PHONY : all install clean doc docclean dist bindist distclean configured cscope

> add cscope to Makefile
> ----------------------
>
>                 Key: BIT-1300
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-1300
>             Project: Bro Issue Tracker
>          Issue Type: Patch
>          Components: Bro
>            Reporter: jdonnelly
>




--
This message was sent by Atlassian JIRA
(v6.4-OD-12-026#64007)


More information about the bro-dev mailing list