summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-02-09 15:29:35 -0500
committerJune McEnroe <june@causal.agency>2018-02-09 15:31:10 -0500
commitfc841f6ecad1c455c1c3bcbe127731dac921b326 (patch)
treeff14267e2be4237a6f78eb49bddf4bd4d2d0b880
parentLink LDLIBS regardless of GFX (diff)
downloadsrc-fc841f6ecad1c455c1c3bcbe127731dac921b326.tar.gz
src-fc841f6ecad1c455c1c3bcbe127731dac921b326.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