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
commit558845a196f5f35039f090e53e3eb006495fc819 (patch)
tree825fd7b6365004d1a304e0d1f4405a339901f913 /bin/Makefile
parentFix IRC output monospace option to emit once per line (diff)
downloadsrc-558845a196f5f35039f090e53e3eb006495fc819.tar.gz
src-558845a196f5f35039f090e53e3eb006495fc819.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 $@