mirror of
https://github.com/Cantera/cantera.git
synced 2025-02-25 18:55:29 -06:00
50 lines
1.1 KiB
Makefile
Executable File
50 lines
1.1 KiB
Makefile
Executable File
#/bin/sh
|
|
###############################################################
|
|
# $Author$
|
|
# $Date$
|
|
# $Revision$
|
|
#
|
|
# Copyright 2001 California Institute of Technology
|
|
# See file License.txt for licensing information
|
|
#
|
|
###############################################################
|
|
|
|
CANTERA_LIBDIR=../../lib
|
|
LIB_DEPS = $(CANTERA_LIBDIR)/libcantera.a $(CANTERA_LIBDIR)/libzeroD.a \
|
|
$(CANTERA_LIBDIR)/liboneD.a $(CANTERA_LIBDIR)/libconverters.a
|
|
SRCS = src/ctphase_methods.cpp \
|
|
src/ctthermo_methods.cpp \
|
|
src/ctkinetics_methods.cpp \
|
|
src/cttransport_methods.cpp \
|
|
src/ctxml_methods.cpp \
|
|
src/ctflow_methods.cpp \
|
|
src/ctfuncs.cpp \
|
|
src/ctsurf_methods.cpp \
|
|
src/ctbndry_methods.cpp \
|
|
src/ctrpath_methods.cpp \
|
|
src/ctreactor_methods.cpp \
|
|
src/ctfunc_methods.cpp \
|
|
src/methods.h
|
|
|
|
all: _build
|
|
|
|
_build: $(SRCS) $(LIB_DEPS)
|
|
touch src/pycantera.cpp
|
|
@PYTHON_CMD@ setup.py build
|
|
echo 'ok' > _build
|
|
|
|
install:
|
|
@PYTHON_CMD@ setup.py install
|
|
|
|
clean:
|
|
@PYTHON_CMD@ setup.py clean
|
|
cd src; rm -f *.o
|
|
|
|
depends:
|
|
echo '-'
|
|
|
|
# end of file
|
|
|
|
|
|
|