aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2014-04-10 19:27:42 -0500
committerJoel Martin <github@martintribe.org>2014-04-10 19:27:42 -0500
commit712af9efbe15a9a65c25ab92ee2a49c8e749ed3d (patch)
tree52cac897ae1834cf812ff41b602885142e7a0b5a /Makefile
parenta34b02006527d28db5df5c6553be804770b81f79 (diff)
downloadmal-712af9efbe15a9a65c25ab92ee2a49c8e749ed3d.tar.gz
mal-712af9efbe15a9a65c25ab92ee2a49c8e749ed3d.zip
Add stats-lisp target (only env, core, stepA)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 8ea60de..b7feb01 100644
--- a/Makefile
+++ b/Makefile
@@ -67,6 +67,7 @@ ALL_TESTS = $(filter-out $(EXCLUDE_TESTS),\
$(foreach step,$(STEPS),test^$(impl)^$(step))))))
IMPL_STATS = $(foreach impl,$(IMPLS),stats^$(impl))
+IMPL_STATS_LISP = $(foreach impl,$(IMPLS),stats-lisp^$(impl))
#
# Build rules
@@ -107,4 +108,12 @@ $(IMPL_STATS):
echo "Stats for $(impl):"; \
$(MAKE) --no-print-directory -C $(impl) stats)
+.SECONDEXPANSION:
+$(IMPL_STATS_LISP):
+ @echo "----------------------------------------------"; \
+ $(foreach impl,$(word 2,$(subst ^, ,$(@))),\
+ echo "Stats (lisp only) for $(impl):"; \
+ $(MAKE) --no-print-directory -C $(impl) stats-lisp)
+
stats: $(IMPL_STATS)
+stats-lisp: $(IMPL_STATS_LISP)