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