Generate tags file

weechat-hashes
C. McEnroe 2020-02-01 21:55:05 -05:00
parent e5363bcae0
commit d59666cb25
2 changed files with 9 additions and 1 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
*.o
catgirl
tags

View File

@ -11,10 +11,17 @@ OBJS += irc.o
OBJS += term.o
OBJS += ui.o
dev: tags all
all: catgirl
catgirl: ${OBJS}
${CC} ${LDFLAGS} ${OBJS} ${LDLIBS} -o $@
${OBJS}: chat.h
tags: *.h *.c
ctags -w *.h *.c
clean:
rm -f catgirl ${OBJS}
rm -f tags catgirl ${OBJS}