diff --git a/.gitignore b/.gitignore index ab80afd..64b2b13 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ *.o catgirl +tags diff --git a/Makefile b/Makefile index 4af59ee..ce27d4e 100644 --- a/Makefile +++ b/Makefile @@ -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}