fixing the Fortran modules dependencies
authorAndrey Churbanov <Andrey.Churbanov@intel.com>
Thu, 29 Jan 2015 15:43:48 +0000 (15:43 +0000)
committerAndrey Churbanov <Andrey.Churbanov@intel.com>
Thu, 29 Jan 2015 15:43:48 +0000 (15:43 +0000)
llvm-svn: 227449

openmp/runtime/src/makefile.mk

index ade031b..4fc8c2f 100644 (file)
@@ -1532,10 +1532,11 @@ endif
 # --------------------------------------------------------------------------------------------------
 # Fortran files.
 # --------------------------------------------------------------------------------------------------
-    omp_lib_f = omp_lib.f90
-omp_lib.mod omp_lib_kinds.mod : $(omp_lib_f) .rebuild
+omp_lib_f = omp_lib.f90
+omp_lib_kinds.mod : $(omp_lib_f) .rebuild
        $(target)
        $(fort) $(fort-flags) $<
+omp_lib.mod : omp_lib_kinds.mod
 
 omp_lib.h  : ev-flags += -D KMP_INT_PTR_KIND="int_ptr_kind()"
 iomp_lib.h : ev-flags += -D KMP_INT_PTR_KIND=$(if $(filter 32,$(arch)),4,8)