summaryrefslogtreecommitdiffstats
path: root/fortran
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2000-10-11 22:15:06 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2000-10-11 22:15:06 (GMT)
commit717e5f47648d9dc7572d5189f6de3196ad1205e2 (patch)
tree249eb9f3959e9d0e1e853da11287baef1aa7aeb8 /fortran
parentd1e73b09091a18a9872cd9e4ffea35fbf3bbe20b (diff)
downloadhdf5-717e5f47648d9dc7572d5189f6de3196ad1205e2.zip
hdf5-717e5f47648d9dc7572d5189f6de3196ad1205e2.tar.gz
hdf5-717e5f47648d9dc7572d5189f6de3196ad1205e2.tar.bz2
[svn-r2670] Purpose:
Bug fix Description: The setting does not work for the --src-dir option as source file names are hard set in the action lines. Solution: Changed the dependence targets to the form of *.lo and the action lines would use the *.lo files. This way, *.lo files are created when -src-dir option is used or not. Platforms tested: IRIX64 -64 (I knows it works for other platforms because "'I know the hammer will drop when i let go'--Mr. Spock")
Diffstat (limited to 'fortran')
-rw-r--r--fortran/test/Makefile.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/fortran/test/Makefile.in b/fortran/test/Makefile.in
index d6def35..fb8a12e 100644
--- a/fortran/test/Makefile.in
+++ b/fortran/test/Makefile.in
@@ -28,13 +28,13 @@ TEST_OBJ=$(TEST_SRC:.f90=.lo)
$(TEST_PROGS): $(FLIB)
-fortranlib_test: $(TEST_OBJ)
- @$(LT_LINK_FEXE) $(FFLAGS) -o $@ fortranlib_test.f90 $(TEST_OBJ) $(FLIB) $(LIBS) $(HDF5LIB)
+fortranlib_test: fortranlib_test.lo $(TEST_OBJ)
+ @$(LT_LINK_FEXE) $(FFLAGS) -o $@ fortranlib_test.lo $(TEST_OBJ) $(FLIB) $(LIBS) $(HDF5LIB)
-fflush1: fflush1.f90 hdf5test.f90
- @$(LT_LINK_FEXE) $(FFLAGS) -o $@ fflush1.f90 hdf5test.o $(FLIB) $(LIBS) $(HDF5LIB)
+fflush1: fflush1.lo hdf5test.lo
+ @$(LT_LINK_FEXE) $(FFLAGS) -o $@ fflush1.lo hdf5test.lo $(FLIB) $(LIBS) $(HDF5LIB)
-fflush2: fflush2.f90 hdf5test.f90
- @$(LT_LINK_FEXE) $(FFLAGS) -o $@ fflush2.f90 hdf5test.o $(FLIB) $(LIBS) $(HDF5LIB)
+fflush2: fflush2.lo hdf5test.lo
+ @$(LT_LINK_FEXE) $(FFLAGS) -o $@ fflush2.lo hdf5test.lo $(FLIB) $(LIBS) $(HDF5LIB)
@CONCLUDE@