summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2018-02-09 15:29:35 -0500
committerJune McEnroe <programble@gmail.com>2018-02-09 15:31:10 -0500
commit13e9bee581a48051326f36ede44d980f7975b15c (patch)
tree0c2b9be64235dbdc2d82c8583ac97162974a52e5 /bin
parentLink LDLIBS regardless of GFX (diff)
downloadsrc-13e9bee581a48051326f36ede44d980f7975b15c.tar.gz
src-13e9bee581a48051326f36ede44d980f7975b15c.zip
Silence BSD ctags warnings
Diffstat (limited to '')
-rw-r--r--bin/.gitignore2
-rw-r--r--bin/Makefile6
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/.gitignore b/bin/.gitignore
index bdc4ce80..ae5a47b8 100644
--- a/bin/.gitignore
+++ b/bin/.gitignore
@@ -1,5 +1,5 @@
-tags
 *.o
+tags
 atch
 dtch
 gfxx
diff --git a/bin/Makefile b/bin/Makefile
index c55b42e9..ffbde39a 100644
--- a/bin/Makefile
+++ b/bin/Makefile
@@ -29,7 +29,7 @@ setuid: bri
 	chmod u+s bri
 
 clean:
-	rm -f *.o gfx/*.o $(ALL_BINS)
+	rm -f tags *.o gfx/*.o $(ALL_BINS)
 
 link:
 	ln -s -f $(ALL_BINS:%=$(PWD)/%) ~/.bin
@@ -38,9 +38,9 @@ unlink:
 	rm -f $(ALL_BINS:%=~/.bin/%)
 
 .gitignore: Makefile
-	echo tags '*.o' $(ALL_BINS) | tr ' ' '\n' > .gitignore
+	echo '*.o' tags $(ALL_BINS) | tr ' ' '\n' > .gitignore
 
 tags: *.c
-	ctags *.c
+	ctags -w *.c
 
 .PHONY: any bsd linux setuid clean link unlink