## Include in information about the fortran compiler from ## MakeIncl.ReactingFlows. This will set F77 variable. Nothing ## else is used. Make sure configure has been run on the module, else ## MakeIncl.ReactingFlows will not exist. include ../../../MakeIncl.ReactingFlows ## Include information about whether we need to compile this ## for all species or all species - 1, stored in SPECIES_FLAG. ## All species compilation require a -DALL_SPECIES flag. This info is ## stored in ../../MakeIncl.ChemSys which is made by ChemicalRates/configure. ## ChemicalRates/configure is run by make if MakeIncl.ChemSys does ## not exist. You can also run it by yourself. do configure --help ## to see what inputs it takes. It allows you to set the number of ## reactions and species by specifying a chem.inp file for a mechanism ## as well as specifying if all species of all species - 1 are to be ## dealt with. It also gets the DOUBLE_PRECISION_FLAG from here. ## JR, 07/09/04 ## DIM_NONDIM_FLAG is set to -DNON_DIM when the code has to be compiled ## so that it accepts and returns non-dimensional quantities. When dimensional ## quantities are used, this flag is blank. include ../../MakeIncl.ChemSys OBJS = therm_init.o cgsp.o dcgsp.o hsp.o cpsp.o getsizes.o TARGET = libtherm.a RANLIB = ranlib AR = ar cr FFLAGS = $(FOPTIMIZATION) $(DOUBLE_PRECISION_FLAG) $(SPECIES_FLAG) $(DIM_NONDIM_FLAG) ECHO = echo default : $(OBJS) $(AR) $(TARGET) $(OBJS) $(RANLIB) $(TARGET) .f.o: ln -s $*.f $*.F @$(ECHO) @$(ECHO) "Compiling Source File --" $< @$(ECHO) "---------------------" $(F77) $(FFLAGS) -c $*.F /bin/rm $*.F clean : /bin/rm -f $(OBJS) $(TARGET) *~ *.F distclean : clean /bin/rm -f parameter.par