From 54cfa773584fe0d9828a58d9d09a19959515e21b Mon Sep 17 00:00:00 2001 From: Sean Allred Date: Sun, 9 Nov 2014 11:24:19 -0500 Subject: Avoid .DEFAULT rule in Makefile Instead, use a proper 'group' rule using the `VERSIONS' variable. Also, the use of `::' signals that the order doesn't matter at all; the recipes will be executed in the order they appear in the Makefile. --- Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b322342..1ca10c0 100644 --- a/Makefile +++ b/Makefile @@ -16,9 +16,11 @@ # make all # -all: 24.1 24.2 24.3 24.4 +VERSIONS = 24.1 24.2 24.3 24.4 -.DEFAULT: +all :: $(VERSIONS) + +$(VERSIONS) :: evm install emacs-$@-bin || true emacs --version emacs --batch -L . -l ert -l test/tests.el -f ert-run-tests-batch-and-exit -- cgit v1.2.3