summary refs log tree commit diff
path: root/bin/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-02-09 14:09:55 -0500
committerJune McEnroe <june@causal.agency>2019-02-09 14:09:55 -0500
commit76f4d8afb7a394c4a36b04e0b04921e1ed961c18 (patch)
tree2c4290cb71f6fed3e1c70c69b51b5095f15cf47c /bin/Makefile
parentFix IRC output monospace option to emit once per line (diff)
downloadsrc-76f4d8afb7a394c4a36b04e0b04921e1ed961c18.tar.gz
src-76f4d8afb7a394c4a36b04e0b04921e1ed961c18.zip
Run hi -c after compiling hi
Diffstat (limited to 'bin/Makefile')
-rw-r--r--bin/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/Makefile b/bin/Makefile
index d041d3a9..80d1a89e 100644
--- a/bin/Makefile
+++ b/bin/Makefile
@@ -71,6 +71,10 @@ brot: brot.o $(GFX_OBJ)
 gfxx: gfxx.o $(GFX_OBJ)
 	$(CC) $(LDFLAGS) $@.o $(GFX_OBJ) $(LDLIBS_$(GFX)) -o $@
 
+hi: hi.c
+	$(CC) $(CFLAGS) $(LDFLAGS) hi.c $(LDLIBS) -o $@
+	./hi -c
+
 open pbcopy pbpaste: pbd
 	ln -f pbd $@