aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Linskey2026-05-30 09:07:40 -0400
committerBenjamin Linskey2026-05-30 09:23:26 -0400
commit4ca22e8b45d6af1bfa50dbd83db4589e74290bb9 (patch)
tree5303109a21659375e087037934742f5b1bfd74a1
parent24ffbcf921e2199376a2a5a8384a3de2bc155141 (diff)
downloadrogue-4ca22e8b45d6af1bfa50dbd83db4589e74290bb9.tar.gz

Add makefile “tags” target

-rw-r--r--.gitignore1
-rw-r--r--Makefile5
2 files changed, 5 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 1f84200..8d40368 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
*.o
rogue
+tags
diff --git a/Makefile b/Makefile
index 278bb15..feda12b 100644
--- a/Makefile
+++ b/Makefile
@@ -24,4 +24,7 @@ $(PROG): $(OBJS)
.PHONY: clean
clean:
- rm $(PROG) $(OBJS)
+ rm -f $(PROG) $(OBJS) tags
+
+tags:
+ ctags -d *.c *.h