#
# $Source: /cvsroot/cantera/cantera/ext/math/Makefile.in,v $
# $Author: hkmoffa $
# $Revision: 1.8 $
# $Date: 2006/03/03 20:31:49 $
#

.SUFFIXES :
.SUFFIXES : .f .d .o .cpp

do_ranlib = @DO_RANLIB@

LIB = @buildlib@/libctmath.a

all: $(LIB)


F_FLAGS = @FFLAGS@ 

OBJS = \
mach.o \
ddaspk.o \
dgbfa.o \
dgbsl.o \
dgefa.o \
dgesl.o \
dp1vlu.o \
dpcoef.o \
dpolft.o \
fdump.o \
j4save.o \
pcoef.o \
polfit.o \
pvalue.o \
xercnt.o \
xerhlt.o \
xermsg.o \
xerprn.o \
xersve.o \
xgetua.o 

SRCS = $(OBJS:.o=.cpp)
all = $(LIB)

$(LIB):  $(OBJS)
	@ARCHIVE@ $(LIB) $(OBJS) > /dev/null
ifeq ($(do_ranlib),1)
	@RANLIB@ $(LIB)
endif
%.o : %.cpp
	@CXX@ -c $< @DEFS@  @CXXFLAGS@ $(INCLUDES)

%.o : %.f
	@F77@ -c $< $(F_FLAGS)

clean:
	$(RM) $(OBJS) $(LIB)

depends:
	echo '...'

 



