Thanks Arjen. I am on a Windows system most of the time using the internal command prompt, not the Msys terminal. I found a few little bugs in the test formatting that I believe were artifacts of copy-paste and the text editor (Notepad++). All is very well now. My final makefile is:
# Start of the makefile
all: amrl clean
ALL = amrl_data.o property_data.o biintrp.o\
bisection.o cv.o cwmat.o dpdd.o dt.o fcks.o fckw.o fhfs.o fhsw.o\
fluid_friction_calc.o hex_calc.o initdata.o linintrp.o restart.o\
rhoxcalc.o solver.o store.o main.o
amrl : $(ALL)
gfortran -g3 -fcheck=all -Wall -fbacktrace -o amrl $(ALL)
amrl_data.mod : amrl_data.f90
gfortran -c amrl_data.f90
amrl_data.o : amrl_data.f90
gfortran -c amrl_data.f90
property_data.mod : property_data.f90
gfortran -c property_data.f90
property_data.o : property_data.f90
gfortran -c property_data.f90
biintrp.o : biintrp.f90
gfortran -c Biintrp.f90
bisection.o : bisection.f90
gfortran -c bisection.f90
cv.o : cv.f90
gfortran -c cv.f90
cwmat.o : cwmat.f90
gfortran -c cwmat.f90
dpdd.o : dpdd.f90
gfortran -c dpdd.f90
dt.o : dt.f90
gfortran -c dt.f90
fcks.o : fcks.f90
gfortran -c fcks.f90
fckw.o : fckw.f90
gfortran -c fckw.f90
fhfs.o : fhfs.f90
gfortran -c fhfs.f90
fhsw.o : fhsw.f90
gfortran -c fhsw.f90
fluid_friction_calc.o : fluid_friction_calc.f90
gfortran -c fluid_friction_calc.f90
hex_calc.o : hex_calc.f90
gfortran -c hex_calc.f90
initdata.o : initdata.f90
gfortran -c initdata.f90
linintrp.o : linintrp.f90
gfortran -c linintrp.f90
main.o : main.f90
gfortran -c main.f90
restart.o : restart.f90
gfortran -c restart.f90
rhoxcalc.o : rhoxcalc.f90
gfortran -c rhoxcalc.f90
solver.o : solver.f90
gfortran -c solver.f90
store.o : store.f90
gfortran -c store.f90
clean :
del -f *.o
This runs well on the minGW-32 for windows. My research has shown me that I can make this file much simpler with more variables and shortcuts, but for now I am in good shape. (make command is mingw32-make).
Thanks again all.
Thanks!!