diff options
author | June McEnroe <june@causal.agency> | 2018-03-05 12:37:52 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2018-03-05 12:37:52 -0500 |
commit | 69dbc210391ff7829e2ceeb05770d1de517a329b (patch) | |
tree | a7504bcd9a1c15ce51396fa2f1ecf212e1b497e2 /Makefile | |
parent | Simplify Makefile with pattern rule (diff) | |
download | torus-69dbc210391ff7829e2ceeb05770d1de517a329b.tar.gz torus-69dbc210391ff7829e2ceeb05770d1de517a329b.zip |
Generate tags
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
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 |