From 861303fa7348be415fe80c5183998abff82e03c2 Mon Sep 17 00:00:00 2001 From: knarf Date: Tue, 23 Nov 2010 19:40:33 +0000 Subject: make Cactus add include paths to the compiler options such that fortran module files outside of scratch can be found, closes ET ticket #99 git-svn-id: http://svn.cactuscode.org/flesh/trunk@4652 17b73243-c579-4c4c-a9d2-2d5706c11dac --- lib/make/make.config.rules.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/make/make.config.rules.in b/lib/make/make.config.rules.in index 59e81967..e656499d 100644 --- a/lib/make/make.config.rules.in +++ b/lib/make/make.config.rules.in @@ -132,7 +132,7 @@ define PREPROCESS_F endef define COMPILE_F -if test "$(F90)" = "none" ; then echo "There is no Fortran 90 compiler available. Aborting." ; exit 1 ; fi ; current_wd=`$(GET_WD)` ; cd $(SCRATCH_BUILD) ; $(F90) $(F90FLAGS) $(FCOMPILEONLY)$(OPTIONSEP)$$current_wd$(DIRSEP)$@ $$current_wd$(DIRSEP)$(basename $(notdir $<)).f +if test "$(F90)" = "none" ; then echo "There is no Fortran 90 compiler available. Aborting." ; exit 1 ; fi ; current_wd=`$(GET_WD)` ; cd $(SCRATCH_BUILD) ; $(F90) $(F90FLAGS) $(INCLUDE_LINE) $(FCOMPILEONLY)$(OPTIONSEP)$$current_wd$(DIRSEP)$@ $$current_wd$(DIRSEP)$(basename $(notdir $<)).f endef define POSTPROCESS_F @@ -145,7 +145,7 @@ define PREPROCESS_F90 endef define COMPILE_F90 -if test "$(F90)" = "none" ; then echo "There is no Fortran 90 compiler available. Aborting." ; exit 1 ; fi ; current_wd=`$(GET_WD)` ; cd $(SCRATCH_BUILD) ; $(F90) $(F90FLAGS) $(FCOMPILEONLY)$(OPTIONSEP)$$current_wd$(DIRSEP)$@ $$current_wd$(DIRSEP)$(basename $(notdir $<)).$(F90_SUFFIX) +if test "$(F90)" = "none" ; then echo "There is no Fortran 90 compiler available. Aborting." ; exit 1 ; fi ; current_wd=`$(GET_WD)` ; cd $(SCRATCH_BUILD) ; $(F90) $(F90FLAGS) $(INCLUDE_LINE) $(FCOMPILEONLY)$(OPTIONSEP)$$current_wd$(DIRSEP)$@ $$current_wd$(DIRSEP)$(basename $(notdir $<)).$(F90_SUFFIX) endef define POSTPROCESS_F90 -- cgit v1.2.3