about summary refs log tree commit diff stats
path: root/cpp
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-04-21 16:34:27 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-04-21 16:34:27 -0700
commit963711e4cbc1c87314f66310da2d6f89aa471907 (patch)
treecddc94c4d04a7cd680f6013dd7072c5a3ac28ab2 /cpp
parentc08e91ff5f7f55cda630ad000fdeadd8ba302cb0 (diff)
downloadmu-963711e4cbc1c87314f66310da2d6f89aa471907.tar.gz
1118
Diffstat (limited to 'cpp')
-rwxr-xr-xcpp/build_and_test_until4
-rw-r--r--cpp/makefile2
2 files changed, 2 insertions, 4 deletions
diff --git a/cpp/build_and_test_until b/cpp/build_and_test_until
index 6c469604..25db949f 100755
--- a/cpp/build_and_test_until
+++ b/cpp/build_and_test_until
@@ -8,6 +8,4 @@ make tangle/tangle
 make enumerate/enumerate
 ./tangle/tangle $(./enumerate/enumerate --until $* |grep -v '.mu$') |grep -v "^\s*//:" > mu.cc
 cat /dev/null $(./enumerate/enumerate --until $* |grep '.mu$') > core.mu
-make autogenerated_lists
-g++ -g -Wall -Wextra -fno-strict-aliasing mu.cc -o mu
-./mu test
+make test
diff --git a/cpp/makefile b/cpp/makefile
index 1d4cf9a7..5563cd8a 100644
--- a/cpp/makefile
+++ b/cpp/makefile
@@ -1,4 +1,5 @@
 mu: makefile enumerate/enumerate tangle/tangle mu.cc
+	@make autogenerated_lists >/dev/null
 	g++ -g -Wall -Wextra -fno-strict-aliasing mu.cc -lncurses -o mu
 
 # To see what the program looks like after all layers have been applied, read
@@ -6,7 +7,6 @@ mu: makefile enumerate/enumerate tangle/tangle mu.cc
 mu.cc: 0*
 	./tangle/tangle $$(./enumerate/enumerate --until 999 |grep -v '.mu$$') > mu.cc
 	cat $$(./enumerate/enumerate --until 999 |grep '.mu$$') > core.mu
-	@make autogenerated_lists >/dev/null
 
 enumerate/enumerate:
 	cd enumerate && make && ./enumerate test