From ad2ee8a4ae7f805de5baacd92ad84d29c81bc81f Mon Sep 17 00:00:00 2001 From: poprhythm Date: Fri, 16 Sep 2022 10:24:56 -0400 Subject: [PATCH] Readd relative folder for makefile --- leafres/testrun/Makefile | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) 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