Hello people,
for my project I need to use the following makefile. But I would like to use the ftn95 compiler. I have read that one can use the mk32 command. Unfortunatly I have not so much knowlegde of makefiles. Could somebody tell me how I can change this file that I can use it with FTN95. Thx for helping me out!
.SUFFIXES: .o .f .c .f,v
FC = g77 FFLAGS = $(DEBUG) \ -ff90 \ -ff90-intrinsics-enable \ -fdollar-ok \ -finit-local-zero \ -fno-second-underscore \ -fno-underscoring
CFLAGS = -Wall \((DEBUG) -I\)(INCLUDE) DEBUG = -g
REFPROPDIR = refprop8 REFPROP = -L$(REFPROPDIR) -lrefprop8
CO2DIR = co2_spanw CO2LIB = -L$(CO2DIR) -lco2_spanw CO2INC = $(CO2DIR)
TPDIR = tplib TPLIB = -L$(TPDIR) -ltp
OBJS = co2test.o spanwco2_f2c.o
INCLUDE = $(CO2INC)
LIBS =$(REFPROP) \ $(TPLIB) \ $(CO2LIB)
co2test: co2test.o $(OBJS) $(FC) $(DEBUG) -o co2test $(OBJS) $(LIBS)
co2test.o: co2test.f $(FC) $(FFLAGS) -c $<