summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2017-09-14 16:46:05 -0400
committerJune McEnroe <programble@gmail.com>2017-09-14 16:46:05 -0400
commit1e81d34a6d5cb6e47081ab9adae4bf291a6d9b1b (patch)
treedeb58cc4b2300f803b4e96ab72d8e7323c86fb6b
parentAdd typing game (diff)
downloadsrc-1e81d34a6d5cb6e47081ab9adae4bf291a6d9b1b.tar.gz
src-1e81d34a6d5cb6e47081ab9adae4bf291a6d9b1b.zip
Add .gitignore target to bins Makefile
-rw-r--r--bin/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/Makefile b/bin/Makefile
index 564bfc74..e0933eae 100644
--- a/bin/Makefile
+++ b/bin/Makefile
@@ -36,4 +36,7 @@ link: $(BINS)
 unlink:
 	rm -f $(BINS:%=~/.bin/%)
 
+.gitignore: Makefile
+	echo $(BINS) | tr ' ' '\n' > .gitignore
+
 .PHONY: all clean link unlink