From 5f1285238b09a5f01836138f5bb94654f78588a7 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Wed, 22 Apr 2015 17:15:19 -0700 Subject: 1136 - switch from ncurses to https://github.com/nsf/termbox --- cpp/makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'cpp/makefile') 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 -- cgit 1.4.1-2-gfad0