From 470555157fcc3e7020d700352e06094fa78ef0ca Mon Sep 17 00:00:00 2001 From: David L Parkhurst Date: Mon, 19 Nov 2007 21:28:44 +0000 Subject: [PATCH] Added code to run windows without editing git-svn-id: svn://136.177.114.72/svn_GW/phreeqcpp/trunk@2408 1feff8c3-07ed-0310-ac33-dd36852eb9cd --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8107aa92..4f000048 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,16 @@ +CFG1 :=`uname` +CFG :=$(shell echo $(CFG1) | sed "s/CYGWIN.*/CYGWIN/") + INPUT=../examples PHREEQCDAT=../database/phreeqc.dat WATEQ4FDAT=../database/wateq4f.dat -PHREEQC=/cygdrive/c/Programs/phreeqcpp/Release/phreeqcpp.exe + PHREEQC=../src/Release/phreeqcpp +ifeq ($(CFG), CYGWIN) + PHREEQC=/cygdrive/c/Programs/phreeqcpp/Release/phreeqcpp.exe +endif + all: ex1.out ex2.out ex3.out ex4.out ex5.out ex6.out ex7.out ex8.out ex9.out \ ex10.out ex11.out ex12.out ex12a.out ex13a.out ex13b.out ex13c.out ex14.out \ ex15.out ex16.out ex17.out ex18.out