Adding Makefile.win files

This commit is contained in:
Harry Moffat 2009-07-17 19:33:17 +00:00
parent 7265f8fad2
commit 8fe5b865d4
9 changed files with 158 additions and 0 deletions

View 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

View 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

View file

@ -0,0 +1,15 @@
#!/bin/sh
all:
run:
$(PYTHON_CMD) functors.py
test:
./runtest
clean:
./cleanup
# end of file

View file

@ -0,0 +1,16 @@
#!/bin/sh
all:
run:
$(PYTHON_CMD) mix1.py
test:
./runtest
clean:
./cleanup
# end of file

View file

@ -0,0 +1,16 @@
#!/bin/sh
all:
run:
$(PYTHON_CMD) mix2.py
test:
./runtest
clean:
./cleanup
# end of file

View file

@ -0,0 +1,14 @@
#!/bin/sh
run:
$(PYTHON_CMD) piston.py
test:
./runtest
clean:
./cleanup
# end of file

View file

@ -0,0 +1,15 @@
#!/bin/sh
run:
$(PYTHON_CMD) reactor1.py
test:
./runtest
clean:
./cleanup
# end of file

View file

@ -0,0 +1,14 @@
#!/bin/sh
run:
$(PYTHON_CMD) sensitivity1.py
test:
./runtest
clean:
./cleanup
# end of file

View file

@ -0,0 +1,17 @@
#!/bin/sh
all:
run:
$(PYTHON_CMD) surf_pfr.py
test:
./runtest
clean:
./cleanup
# end of file