aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWojtek Kosior <kwojtus@protonmail.com>2019-07-03 22:49:44 +0200
committerWojtek Kosior <kwojtus@protonmail.com>2019-07-03 22:49:44 +0200
commitd468de88b21672711fdcc9aa5420ef51e699d1f5 (patch)
treeff2a9a12e1fb88fd20b6122d0e1544dc2c145942 /Makefile
parent30e7cd8dc0af948995027d4efcff3fdf47c50efe (diff)
downloadfortran-assignment3-d468de88b21672711fdcc9aa5420ef51e699d1f5.tar.gz
fortran-assignment3-d468de88b21672711fdcc9aa5420ef51e699d1f5.zip
call data-generating script from Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d5c9ed0..8963bb6 100644
--- a/Makefile
+++ b/Makefile
@@ -40,6 +40,12 @@ main.o main.mod : quadratures.mod functions.mod
integrator : main.o quadratures.o functions.o
$(FC) $(LDFLAGS) $^ -o $@
+res/1image_results : integrator run.sh
+ ./run.sh 1 > $@
+
+res/5images_results : integrator run.sh
+ ./run.sh 5 > $@
+
clean :
-rm integrator *.{mod,o}