From 6ef9dc555c3befc3d192e914e88efc06b7252e2f Mon Sep 17 00:00:00 2001
From: Thomas Witkowski <thomas.witkowski@gmx.de>
Date: Fri, 13 Nov 2009 10:18:03 +0000
Subject: [PATCH] Added USE_REINIT parameter to Makefile.

---
 AMDiS/other/include/Makefile_AMDiS.mk | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/AMDiS/other/include/Makefile_AMDiS.mk b/AMDiS/other/include/Makefile_AMDiS.mk
index cdb7bb9c..b5054cfd 100644
--- a/AMDiS/other/include/Makefile_AMDiS.mk
+++ b/AMDiS/other/include/Makefile_AMDiS.mk
@@ -17,8 +17,9 @@ AMDIS_INCLUDE = -I$(AMDIS_DIR)/src -I$(AMDIS_DIR)/compositeFEM/src -I$(AMDIS_DIR
 MPCCI_INCLUDE = -I$(MPCCI_DIR)/include
 PARMETIS_INCLUDE = -I$(PARMETIS_DIR)
 PARALLEL_INCLUDE = -I$(AMDIS_DIR)/src/parallel
+REINIT_INCLUDE = -I$(AMDIS_DIR)/Reinit/src
 
-INCLUDES = -I. $(AMDIS_INCLUDE) $(MPCCI_INCLUDE) $(PARALLEL_INCLUDE)
+INCLUDES = -I. $(AMDIS_INCLUDE) $(MPCCI_INCLUDE) $(REINIT_INCLUDE) $(PARALLEL_INCLUDE)
 
 # ============================================================================
 # ===== libraries ============================================================
@@ -67,6 +68,9 @@ ifeq ($(strip $(USE_MPCCI)), 1)
 	LIBS += $(MPCCI_LIB) 
 endif
 
+ifeq ($(strip $(USE_REINIT)), 1)
+	LIBS += -L$(AMDIS_DIR)/Reinit/lib -lreinit
+endif
 
 # ============================================================================
 # ===== parallel or sequential ? =============================================
-- 
GitLab