cantera/samples/f90/Makefile.in
Ray Speth 3944dda878 Fix path to Cantera.mak in sample Fortran Makefiles
Use relative path if the Cantera install directory contains spaces, as the
Makefile 'include' statement doesn't seem to have a way to escape the space
otherwise.
2014-04-28 18:18:10 +00:00

25 lines
414 B
Makefile

include @tmpl_Cantera_dot_mak@
F90=@F90@
RM=rm -f
F90FLAGS=-g
F90MODDIR=$(CANTERA_FORTRAN_MODS)
LDFLAGS=
LDLIBS=$(CANTERA_FORTRAN_LIBS)
SRCS=@make_sourcefile@
OBJS=$(subst .f90,.o,$(SRCS))
all: @make_target@
@make_target@: $(OBJS)
$(F90) $(LDFLAGS) -o @make_target@ $(OBJS) $(LDLIBS)
%.o : %.f90
$(F90) -c $< @FORTRANMODDIRPREFIX@$(F90MODDIR) $(F90FLAGS)
clean:
$(RM) $(OBJS)
dist-clean: clean
$(RM) *~