Adding Makefile.win files
This commit is contained in:
parent
7265f8fad2
commit
8fe5b865d4
9 changed files with 158 additions and 0 deletions
33
Cantera/python/examples/reactors/Makefile.win
Normal file
33
Cantera/python/examples/reactors/Makefile.win
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
#!/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
|
||||
|
||||
18
Cantera/python/examples/reactors/combustor_sim/Makefile.win
Normal file
18
Cantera/python/examples/reactors/combustor_sim/Makefile.win
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
all:
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) combustor.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
|
||||
clean:
|
||||
rm -f *.log *.csv *.xml
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
15
Cantera/python/examples/reactors/functors_sim/Makefile.win
Normal file
15
Cantera/python/examples/reactors/functors_sim/Makefile.win
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
|
||||
all:
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) functors.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
16
Cantera/python/examples/reactors/mix1_sim/Makefile.win
Normal file
16
Cantera/python/examples/reactors/mix1_sim/Makefile.win
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
|
||||
all:
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) mix1.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
16
Cantera/python/examples/reactors/mix2_sim/Makefile.win
Normal file
16
Cantera/python/examples/reactors/mix2_sim/Makefile.win
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
all:
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) mix2.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
14
Cantera/python/examples/reactors/piston_sim/Makefile.win
Normal file
14
Cantera/python/examples/reactors/piston_sim/Makefile.win
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) piston.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
15
Cantera/python/examples/reactors/reactor1_sim/Makefile.win
Normal file
15
Cantera/python/examples/reactors/reactor1_sim/Makefile.win
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) reactor1.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) sensitivity1.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
17
Cantera/python/examples/reactors/surf_pfr_sim/Makefile.win
Normal file
17
Cantera/python/examples/reactors/surf_pfr_sim/Makefile.win
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
all:
|
||||
|
||||
run:
|
||||
$(PYTHON_CMD) surf_pfr.py
|
||||
|
||||
test:
|
||||
./runtest
|
||||
|
||||
|
||||
clean:
|
||||
./cleanup
|
||||
|
||||
# end of file
|
||||
|
||||
Loading…
Add table
Reference in a new issue