cantera/Cantera/python/examples/reactors/Makefile.win
2009-07-17 19:33:17 +00:00

33 lines
619 B
Bash

#!/bin/sh
PY_DEMOS = combustor_sim functors_sim mix1_sim mix2_sim piston_sim reactor1_sim \
reactor2_sim sensitivity_sim surf_pfr_sim
all:
@(for py in $(PY_DEMOS) ; do \
echo "running $${py}..."; \
(cd "$${py}"; make ) ; \
done)
run:
@(for py in $(PY_DEMOS) ; do \
echo "running $${py}..."; \
(cd "$${py}"; make run ) ; \
done)
test:
@(for py in $(PY_DEMOS) ; do \
echo "testing $${py}..."; \
(cd "$${py}"; make test ) ; \
done)
clean:
@(for py in $(PY_DEMOS) ; do \
echo "testing $${py}..."; \
(cd "$${py}"; make clean ) ; \
done)
rm -f *.log *.csv *.xml
# end of file