mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-30 15:32:37 +08:00
[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")
This commit is contained in:
parent
d1e73b0909
commit
717e5f4764
@ -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@
|
||||
|
Loading…
Reference in New Issue
Block a user