summary refs log tree commit diff
path: root/bin/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-08-20 23:03:54 -0400
committerJune McEnroe <june@causal.agency>2018-08-20 23:03:54 -0400
commit8d2b1669e695a54240a113023ecbe76d35da4f9c (patch)
tree6a3d76c468f8e8c5e5ea27aa0f476d789f0cf35d /bin/Makefile
parentAdd dependencies on gfx.h (diff)
downloadsrc-8d2b1669e695a54240a113023ecbe76d35da4f9c.tar.gz
src-8d2b1669e695a54240a113023ecbe76d35da4f9c.zip
Generate scheme.h
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