about summary refs log tree commit diff stats
path: root/cpp/makefile
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-04-05 18:56:20 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-04-05 18:56:20 -0700
commit267ebb590b0a08d6e8bc9e3f8644b491d0d790ac (patch)
treeb0a5106b3a9373764cf1148ce2827301f3fc7510 /cpp/makefile
parentf2cafededd8d57237263fc7cb7d726ad1eacecd2 (diff)
downloadmu-267ebb590b0a08d6e8bc9e3f8644b491d0d790ac.tar.gz
1018 - build system now handles .mu layers
No support for tests yet. Need to manually run the current test with:
  $ mu string-test.mu

Also, string-equal seems to have a problem.
Diffstat (limited to 'cpp/makefile')
-rw-r--r--cpp/makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/makefile b/cpp/makefile
index a42667c9..470c20c0 100644
--- a/cpp/makefile
+++ b/cpp/makefile
@@ -5,6 +5,7 @@ mu: makefile enumerate/enumerate tangle/tangle mu.cc
 # mu.cc
 mu.cc: 0*
 	./tangle/tangle $$(./enumerate/enumerate --until 999 |grep -v '.mu$$') |grep -v "^\s*//:" > mu.cc
+	cat $$(./enumerate/enumerate --until 999 |grep '.mu$$') > core.mu
 	@make autogenerated_lists >/dev/null
 
 enumerate/enumerate:
@@ -32,4 +33,4 @@ clena: clean
 clean:
 	cd enumerate && make clean
 	cd tangle && make clean
-	rm -rf mu.cc mu *_list
+	rm -rf mu.cc core.mu mu *_list