[tyndur-devel] [PATCH] Makefile: cscope-Target
Antoine Kaufmann ·
On Fri, Jan 07 23:19, Kevin Wolf wrote: > + make cscope generiert eine cscope-Datenbank für alle C-Dateien im > ganzen Verzeichnisbaum > > Signed-off-by: Kevin Wolf <kevin at tyndur.org> > --- > Makefile | 5 +++++ > buildmk.sh | 5 +++++ > 2 files changed, 10 insertions(+), 0 deletions(-) > > diff --git a/Makefile b/Makefile > index 844814c..cb5c7ca 100644 > --- a/Makefile > +++ b/Makefile > @@ -81,6 +81,11 @@ test-qemu-cdrom: image-cdrom > test-bochs: image-floppy > bochs -f bochs.config > > +cscope: > + rm -f cscope.* > + find /home/kevin/entwicklung/tyndur/src -name '*.[ch]' > cscope.files Ich bin relativ sicher dass das bei mir ein "No such file or directory" ausspuckt. ;-) > + cscope -bk > + > menuconfig: > python config.py > > diff --git a/buildmk.sh b/buildmk.sh > index 800ac2a..b5497b9 100644 > --- a/buildmk.sh > +++ b/buildmk.sh > @@ -301,6 +301,11 @@ test-qemu-cdrom: image-cdrom > test-bochs: image-floppy > bochs -f bochs.config > > +cscope: > + rm -f cscope.* > + find `pwd`/src -name '*.[ch]' > cscope.files > + cscope -bk > + > menuconfig: > python config.py -- Antoine Kaufmann <toni at famkaufmann.info> -------------- nächster Teil -------------- Ein Dateianhang mit Binärdaten wurde abgetrennt... Dateiname : nicht verfügbar Dateityp : application/pgp-signature Dateigröße : 198 bytes Beschreibung: nicht verfügbar URL : <http://list.tyndur.org/pipermail/tyndur-devel/attachments/20110108/0f7056d0/attachment.pgp>