diff --git a/leafres/testrun/Makefile b/leafres/testrun/Makefile index 888aa00..6e692e3 100644 --- a/leafres/testrun/Makefile +++ b/leafres/testrun/Makefile @@ -8,12 +8,15 @@ FF = gfortran #FOPTS = -g -C FOPTS = -g -VPATH =/home/l2g/leafres/testarea:\ - /home/l2g/dataassim/math/optimization:\ - /home/l2g/dataassim/math/othersupmath:\ - /home/l2g/dataassim/math/algebra:\ - /home/l2g/dataassim/math/specialfuncs:\ - /home/l2g/dataassim/math/nonlinsystems/ +# Base directory +BASEDIR = ../.. + +VPATH = $(BASEDIR)/leafres/testarea:\ + $(BASEDIR)/dataassim/math/optimization:\ + $(BASEDIR)/dataassim/math/othersupmath:\ + $(BASEDIR)/dataassim/math/algebra:\ + $(BASEDIR)/dataassim/math/specialfuncs:\ + $(BASEDIR)/dataassim/math/nonlinsystems/ # Define objects