about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-01 21:55:05 -0500
committerJune McEnroe <june@causal.agency>2020-02-01 21:55:05 -0500
commitd59666cb25de1e0a9322e22d1fa94d26583383b2 (patch)
tree079744f39f31f01e46e4ab25237ac84b553f543f
parentImplement the beginnings of UI (diff)
downloadcatgirl-d59666cb25de1e0a9322e22d1fa94d26583383b2.tar.gz
catgirl-d59666cb25de1e0a9322e22d1fa94d26583383b2.zip
Generate tags file
Diffstat (limited to '')
-rw-r--r--.gitignore1
-rw-r--r--Makefile9
2 files changed, 9 insertions, 1 deletions
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}