summary refs log tree commit diff
diff options
context:
space:
mode:
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