From d742ca5dc6a2950edc2f0a72b52e1259e2673d76 Mon Sep 17 00:00:00 2001 From: David Majda Date: Fri, 9 Nov 2012 15:57:14 +0100 Subject: [PATCH] Makefile: Small reordering Define |PEGJS_VERSION| before it is used. While defining it after its first use was OK technically, it made the code a tiny bit harder to read. --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 7d8932f..b32503f 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,7 @@ +# ===== Variables ===== + +PEGJS_VERSION = `cat $(VERSION_FILE)` + # ===== Directories ===== SRC_DIR = src @@ -35,10 +39,6 @@ JASMINE_NODE = jasmine-node PEGJS = $(BIN_DIR)/pegjs BENCHMARK_RUN = $(BENCHMARK_DIR)/run -# ===== Variables ===== - -PEGJS_VERSION = `cat $(VERSION_FILE)` - # ===== Preprocessor ===== # A simple preprocessor that recognizes two directives: