about summary refs log tree commit diff stats
path: root/cpp/makefile
diff options
context:
space:
mode:
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