[svn-r4189]

Purpose:
    Bug Fix
Description:
    the ptesthdf5_fortran.f90 program was dependent upon the THDF5
    module. But before the ptesthdf5_fortran.lo file is build, the THDF5
    module needs to be built.
Solution:
    Put that dependency into the Makefile.
This commit is contained in:
Bill Wendling 2001-07-11 14:17:48 -05:00
parent aeaeb90a23
commit 4b218c6a58

View File

@ -41,7 +41,8 @@ $(TEST_OBJ): $(TEST_HDR)
## Put in dependencies to the THDF5 module so that things will be built
## in the correct order.
thyperslab_wr.lo: $(srcdir)/thyperslab_wr.f90 thdf5.lo
thyperslab_wr.lo: $(srcdir)/thyperslab_wr.f90 thdf5.lo
ptesthdf5_fortran.lo: $(srcdir)/ptesthdf5_fortran.f90 thdf5.lo
ptesthdf5_fortran: thdf5.lo thyperslab_wr.lo tcheck.lo ptesthdf5_fortran.lo
@$(LT_LINK_FEXE) $(FFLAGS) -o $@ ptesthdf5_fortran.lo thdf5.lo thyperslab_wr.lo tcheck.lo $(LIBFORTRAN) $(LIBHDF5) $(LIBS)