about summary refs log tree commit diff stats
path: root/makefile
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-07-28 19:22:05 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-07-28 19:23:41 -0700
commitdad1cb27f129a7f23556f76c649fef45f427b18f (patch)
treee75b596fdb1e786fe05fc4e1d34a5f79cc5a9a67 /makefile
parent7002b921c92de28c1f9f9aebfb5781485580854b (diff)
downloadmu-dad1cb27f129a7f23556f76c649fef45f427b18f.tar.gz
1878 - switch test_all_layers to optimized binaries
The cost of optimization across all levels is now lower than that of
running them unoptimized.
  test_all_layers unoptimized: 22:36.88
  test_all_layers optimized: 19:33.38
Diffstat (limited to 'makefile')
-rw-r--r--makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/makefile b/makefile
index 9569b116..4af684ea 100644
--- a/makefile
+++ b/makefile
@@ -26,7 +26,7 @@ termbox/libtermbox.a: termbox/*.c termbox/*.h termbox/*.inl
 test: mu_bin
 	./mu_bin test
 
-valgrind: clang
+valgrind: clang+opt
 	valgrind --leak-check=yes -q --error-exitcode=1 ./mu_bin test
 
 clang: makefile mu.cc termbox/libtermbox.a autogenerated_lists