From 2ebfc4cdc8df117db3befdc9253facc231f0c832 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Sat, 18 Feb 2006 05:08:52 +0000 Subject: [PATCH] Add a devel target to revuild cscope/ctags info. --- src/syncterm/GNUmakefile | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/syncterm/GNUmakefile b/src/syncterm/GNUmakefile index e142d4b41e..219f62023e 100644 --- a/src/syncterm/GNUmakefile +++ b/src/syncterm/GNUmakefile @@ -23,3 +23,23 @@ vpath %.c ../sbbs3 ../smblib ../uifc ../guts $(SYNCTERM): $(EXEODIR) $(OBJS) $(BUILD_DEPENDS) @echo Linking $@ ${QUIET}$(CC) $(LDFLAGS) $(MT_LDFLAGS) $(OBJS) -o $@ $(UIFC-MT_LIBS) $(CIOLIB-MT_LIBS) $(XPDEV-MT_LIBS) + +devel: tags cscope.out + +cscope.out: cscope.files + cscope -b + +tags: cscope.files + exctags -VL cscope.files + +cscope.files:: + find . ../conio ../uifc ../xpdev -name '*.c' -o -name '*.cpp' -o -name '*.h' > cscope.files + echo ../sbbs3/telnet.c >> cscope.files + echo ../sbbs3/telnet.h >> cscope.files + echo ../sbbs3/zmodem.c >> cscope.files + echo ../sbbs3/zmodem.h >> cscope.files + echo ../sbbs3/xmodem.h >> cscope.files + echo ../smblib/crc16.c >> cscope.files + echo ../smblib/crc16.h >> cscope.files + echo ../smblib/crc32.c >> cscope.files + echo ../smblib/crc32.h >> cscope.files -- GitLab