about summary refs log tree commit diff stats
path: root/cpp/makefile
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-04-22 17:15:19 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-04-22 17:15:19 -0700
commit5f1285238b09a5f01836138f5bb94654f78588a7 (patch)
tree167153b6944af30fc25c3097f25b16f658e5bd8a /cpp/makefile
parente89eaad3410cf513c5235ff45db60bf994fbb104 (diff)
downloadmu-5f1285238b09a5f01836138f5bb94654f78588a7.tar.gz
1136 - switch from ncurses to https://github.com/nsf/termbox
Diffstat (limited to 'cpp/makefile')
-rw-r--r--cpp/makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/cpp/makefile b/cpp/makefile
index 5563cd8a..a2c90f5c 100644
--- a/cpp/makefile
+++ b/cpp/makefile
@@ -1,6 +1,6 @@
-mu: makefile enumerate/enumerate tangle/tangle mu.cc
+mu: makefile enumerate/enumerate tangle/tangle mu.cc termbox/libtermbox.a
 	@make autogenerated_lists >/dev/null
-	g++ -g -Wall -Wextra -fno-strict-aliasing mu.cc -lncurses -o mu
+	g++ -g -Wall -Wextra -fno-strict-aliasing mu.cc termbox/libtermbox.a -o mu
 
 # To see what the program looks like after all layers have been applied, read
 # mu.cc
@@ -14,6 +14,9 @@ enumerate/enumerate:
 tangle/tangle:
 	cd tangle && make && ./tangle test
 
+termbox/libtermbox.a:
+	cd termbox && make
+
 # auto-generated files; by convention they end in '_list'.
 .PHONY: autogenerated_lists test clena 
 autogenerated_lists: mu.cc function_list test_list
@@ -34,4 +37,5 @@ clena: clean
 clean:
 	cd enumerate && make clean
 	cd tangle && make clean
+	cd termbox && make clean
 	rm -rf mu.cc core.mu mu *_list