[cig-commits] [commit] QA: build: Correct dependencies for module files. (4e96a63)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Mon Jan 20 11:49:15 PST 2014


Repository : ssh://geoshell/specfem2d

On branch  : QA
Link       : https://github.com/geodynamics/specfem2d/compare/28743f19b9f9fdb75d359c135053825c0ffd05b3...5e8aa55e68fd17b6f475fb65531b84195e497aa1

>---------------------------------------------------------------

commit 4e96a63e7be5072cddf13a9a60961e32f6e6a655
Author: Elliott Sales de Andrade <esalesde at physics.utoronto.ca>
Date:   Mon Jan 6 01:28:00 2014 -0500

    build: Correct dependencies for module files.
    
    Without the correct dependencies, parallel builds fail due to missing
    modules.


>---------------------------------------------------------------

4e96a63e7be5072cddf13a9a60961e32f6e6a655
 src/meshfem2D/Makefile.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/meshfem2D/Makefile.in b/src/meshfem2D/Makefile.in
index a5eb9ec..847ee87 100644
--- a/src/meshfem2D/Makefile.in
+++ b/src/meshfem2D/Makefile.in
@@ -168,7 +168,7 @@ $O/define_shape_functions.o: ${S}/../specfem2D/define_shape_functions.f90 ${SETU
 $O/get_node_number.o: ${S}/get_node_number.f90
 	${F90} $(FLAGS_CHECK) -c -o $O/get_node_number.o ${S}/get_node_number.f90
 
-$O/meshfem2D.o: ${S}/meshfem2D.F90 ${SETUP}/constants.h
+$O/meshfem2D.o: ${S}/meshfem2D.F90 $O/part_unstruct.o $O/read_interfaces_file.o $O/read_parameter_file.o $O/read_source_file.o ${SETUP}/constants.h
 	${F90} $(FLAGS_CHECK) -c -o $O/meshfem2D.o ${S}/meshfem2D.F90
 
 $O/part_unstruct.o: ${S}/part_unstruct.F90 ${SETUP}/constants.h
@@ -189,7 +189,7 @@ $O/read_regions.o: ${S}/read_regions.f90 ${SETUP}/constants.h
 $O/read_source_file.o: ${S}/read_source_file.f90 ${SETUP}/constants.h
 	${F90} $(FLAGS_CHECK) -c -o $O/read_source_file.o ${S}/read_source_file.f90
 
-$O/save_databases.o: ${S}/save_databases.f90 ${SETUP}/constants.h
+$O/save_databases.o: ${S}/save_databases.f90 $O/part_unstruct.o $O/read_parameter_file.o $O/read_source_file.o ${SETUP}/constants.h
 	${F90} $(FLAGS_CHECK) -c -o $O/save_databases.o ${S}/save_databases.f90
 
 $O/save_gnuplot_file.o: ${S}/save_gnuplot_file.f90



More information about the CIG-COMMITS mailing list