From: Arnaud Giersch <arnaud.giersch@iut-bm.univ-fcomte.fr>
Date: Thu, 6 Jan 2011 15:35:44 +0000 (+0100)
Subject: Only define SIMGRID_INSTALL_DIR if it is not already set.
X-Git-Tag: v0.1~198
X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/loba.git/commitdiff_plain/3969d4ebdc78d21108c2d9e38875d5717eb36f53

Only define SIMGRID_INSTALL_DIR if it is not already set.
---

diff --git a/Makefile b/Makefile
index 8030fa0..dc2d3b0 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
-SIMGRID_INSTALL_DIR := ./simgrid-stable
-#SIMGRID_INSTALL_DIR := ./simgrid-dev
+SIMGRID_INSTALL_DIR ?= ./simgrid-stable
+#SIMGRID_INSTALL_DIR ?= ./simgrid-dev
 
 OPTIM_FLAGS += -O3
 DEBUG_FLAGS += -g