From 12222a8a1295ccc5b7266f6b35c1f4d4db9efa7f Mon Sep 17 00:00:00 2001 From: Conrad Stansbury Date: Wed, 11 Mar 2020 16:25:55 -0700 Subject: [PATCH] Fix Makefile object names for targets: gfortran, intel-seq --- src/Makefile.gfortran | 4 ++-- src/Makefile.intel-seq | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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