summary refs log tree commit diff
path: root/bin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/Makefile b/bin/Makefile
index 677b5673..5ccf614a 100644
--- a/bin/Makefile
+++ b/bin/Makefile
@@ -13,11 +13,14 @@ bsd: any $(BSD_BINS)
 linux: any $(LIN_BINS)
 
 .gitignore: Makefile
-	echo tags $(ALL_BINS) scheme.png | tr ' ' '\n' > .gitignore
+	echo tags scheme.h *.o $(ALL_BINS) scheme.png | tr ' ' '\n' > .gitignore
 
 tags: *.c
 	ctags -w *.c
 
+scheme.h: scheme
+	./scheme -c > scheme.h
+
 atch: dtch
 	ln -f dtch atch