diff --git a/src/Makefile.gfortran b/src/Makefile.gfortran index d09752ce..66e91cff 100644 --- a/src/Makefile.gfortran +++ b/src/Makefile.gfortran @@ -24,8 +24,8 @@ libs = -L/usr/lib/ -llapack -lblas # libs = -L/${MKLROOT}/lib/intel64 -lmkl_core -lmkl_sequential -lmkl_intel_lp64 -lpthread -main : $(obj) - $(f90) $(obj) -o wt.x $(libs) +main : $(OBJ) + $(f90) $(OBJ) -o wt.x $(libs) cp -f wt.x ../bin .SUFFIXES: .o .f90 diff --git a/src/Makefile.intel-seq b/src/Makefile.intel-seq index 7004ff29..245e9e74 100644 --- a/src/Makefile.intel-seq +++ b/src/Makefile.intel-seq @@ -23,8 +23,8 @@ libs = -L/opt/intel/mkl/lib/ \ -lmkl_intel_lp64 -lmkl_sequential \ -lmkl_core -liomp5 -main : $(obj) - $(f90) $(obj) -o wt.x $(libs) +main : $(OBJ) + $(f90) $(OBJ) -o wt.x $(libs) cp -f wt.x ../bin .SUFFIXES: .o .f90