aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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)