[svn-r9952] Purpose:

Bug fix

Description:
Typo in /hl/fortran/src Makefile.am caused obtuse compiler complaints from
some compilers (but not others).
Errors were of the form:
gcc: cannot specify -o with -c or -S and multiple compilations

Solution:
In AM_CLFAGS, missed -I before ../../hl/src.  This made gcc think that we
also wanted to compile /hl/src directory.  Fixed error by adding -I.

Platforms tested:
verbena, eirene.
This commit is contained in:
James Laird 2005-02-07 12:59:42 -05:00
parent 3ca585e46c
commit 093515817b
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@
include $(top_srcdir)/config/commence.am
AM_CPPFLAGS=-I$(top_srcdir)/src -I$(top_srcdir)/hl/src $(top_builddir)/hl/src
AM_CPPFLAGS=-I$(top_srcdir)/src -I$(top_srcdir)/hl/src -I$(top_builddir)/hl/src
AM_FFLAGS=-I$(top_builddir)/fortran/src $(F9XMODFLAG)$(top_builddir)/fortran/src
# Our main target, the high-level fortran library

View File

@ -191,7 +191,7 @@ H5FC_PP = $(bindir)/h5pfc
F9XMODEXT = @F9XMODEXT@
F9XMODFLAG = @F9XMODFLAG@
AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/hl/src $(top_builddir)/hl/src
AM_CPPFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/hl/src -I$(top_builddir)/hl/src
AM_FFLAGS = -I$(top_builddir)/fortran/src $(F9XMODFLAG)$(top_builddir)/fortran/src
# Our main target, the high-level fortran library