cantera/ext/math/Makefile.in
Dave Goodwin b571729262 bug fixes
2007-05-11 19:29:35 +00:00

70 lines
802 B
Makefile
Executable file

#
# $Source$
# $Author$
# $Revision$
# $Date$
#
.SUFFIXES :
.SUFFIXES : .f .d .o .cpp
do_ranlib = @DO_RANLIB@
LIB = @buildlib@/libctmath.a
all: $(LIB)
PIC_FLAG=@PIC@
F_FLAGS = @FFLAGS@ $(PIC_FLAG)
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 \
printstring.o
SRCS = $(OBJS:.o=.cpp)
all = $(LIB)
$(LIB): $(OBJS)
@ARCHIVE@ $(LIB) $(OBJS) > /dev/null
ifeq ($(do_ranlib),1)
@RANLIB@ $(LIB)
endif
%.o : %.c
@CXX@ -c $< @DEFS@ @CXXFLAGS@ @PIC@ -I../.. $(INCLUDES)
%.o : %.cpp
@CXX@ -c $< @DEFS@ @CXXFLAGS@ @PIC@ $(INCLUDES)
%.o : %.f
@F77@ -c $< $(F_FLAGS)
clean:
$(RM) $(OBJS) $(LIB)
depends:
echo '...'