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