diff options
author | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-12-12 13:30:06 +0000 |
---|---|---|
committer | goodale <goodale@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2000-12-12 13:30:06 +0000 |
commit | f0fea919aacefc76c945c16c37c989dcbf02c426 (patch) | |
tree | fbeb7444090feb5e4cccf2f52ec39dd6bfb40ce4 /lib | |
parent | 8a86af0206bf4ddba14ec1106f7ecd4daaf65628 (diff) |
Pick up includes from $INCLUDE when generating dependencies.
The $INCLUDE environment variable is used by the windows compilers
and contains pathnames to installed include files which may
contain spaces.
This has solved the huge load of warnings we get when genrating
dependencies, and allows cpp to find mpi.h when configured on the Cornell
cluster with MPI=CUSTOM MPI_LIBS="MPIPro".
Tom
t
git-svn-id: http://svn.cactuscode.org/flesh/trunk@1932 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib')
-rw-r--r-- | lib/make/known-architectures/cygwin | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/make/known-architectures/cygwin b/lib/make/known-architectures/cygwin index 9c4a627e..8d3c0e1e 100644 --- a/lib/make/known-architectures/cygwin +++ b/lib/make/known-architectures/cygwin @@ -100,8 +100,9 @@ else GET_WD="pwd | sed 's,^/cygdrive/\(.\)/,\1:/,' | sed 's,^//\(.\)/,\1:/,' | sed 's,/,\\\\\\,g' " C_DEPEND='$(CPP) -E -MM -nostdinc $(CPPFLAGS) ' - + C_DEPEND_OUT='-I"$(strip $(subst ;," -I",$(INCLUDE)))" > $@' CXX_DEPEND='$(CPP) -E -MM -nostdinc $(CPPFLAGS) ' + CXX_DEPEND_OUT='-I"$(strip $(subst ;," -I",$(INCLUDE)))" > $@' MKDIR="mkdir " MKDIRFLAGS=" -p " |