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
commitfb92a2f9abfcd7e64687a19d9846521795063fb3 (patch)
treec2f52b6ae175274e5049ca95a34e58c245ec1661 /bin/Makefile
parentAdd dependencies on gfx.h (diff)
downloadsrc-fb92a2f9abfcd7e64687a19d9846521795063fb3.tar.gz
src-fb92a2f9abfcd7e64687a19d9846521795063fb3.zip
Generate scheme.h
Diffstat (limited to 'bin/Makefile')
-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