about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--Makefile7
2 files changed, 6 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index c072f2b..6a75e89 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,6 +5,7 @@ merge
 meta
 root
 server
+tags
 termcap
 termcap.db
 torus.dat
diff --git a/Makefile b/Makefile
index 14d4506..60f4cfe 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ BINS = server client help meta merge
 CFLAGS += -Wall -Wextra -Wpedantic
 LDLIBS = -lcurses
 
-all: $(BINS)
+all: tags $(BINS)
 
 $(BINS): torus.h
 
@@ -40,7 +40,10 @@ chroot.tar: server client help termcap.db
 	install -o root -g wheel -m 555 server client help root/bin
 	tar -c -f chroot.tar -C root bin home lib libexec usr
 
+tags: *.h *.c
+	ctags -w *.h *.c
+
 clean:
-	rm -f $(BINS) termcap termcap.db chroot.tar
+	rm -f tags $(BINS) termcap termcap.db chroot.tar
 
 .PHONY: all clean
397cc3a&follow=1'>Bump xterm font size to 12June McEnroe 2022-06-10Handle subshells (and functions) inside substitutionsJune McEnroe 2022-06-10Switch to jorts Install scriptJune McEnroe 2022-06-08Indicate if still reading or no resultsJune McEnroe 2022-06-08Add Maiden, Mother, CroneJune McEnroe 2022-06-05FIRST SHOW IN 2.5 YEARS BABEY!!!June McEnroe 2022-06-03Set line number on File linesJune McEnroe 2022-06-03Stop polling stdin after EOFJune McEnroe 2022-06-02Set TABSIZE=4June McEnroe 2022-06-02Do basic match highlightingJune McEnroe 2022-06-02Clean up parsing a littleJune McEnroe 2022-06-02Don't duplicate path stringJune McEnroe 2022-06-02Use stderr instead of /dev/tty, realloc buffer if lines too longJune McEnroe 2022-06-02Add initial working version of qfJune McEnroe 2022-05-29Set prompt for okshJune McEnroe