aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorWojtek Kosior <kwojtus@protonmail.com>2019-07-12 17:27:20 +0200
committerWojtek Kosior <kwojtus@protonmail.com>2019-07-12 17:27:20 +0200
commitdbc129e8d24cd970dc964c5410c0574391736aaa (patch)
tree2d00c612aa5a81d1a48d180487fe904e5690b1d6 /Makefile
parent604cb80ba801539ab8850e8c2c7e56ec98555b55 (diff)
downloadfortran-assignment3-dbc129e8d24cd970dc964c5410c0574391736aaa.tar.gz
fortran-assignment3-dbc129e8d24cd970dc964c5410c0574391736aaa.zip
add results phony target for generating res/* files
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d13f0ab..c870773 100644
--- a/Makefile
+++ b/Makefile
@@ -45,6 +45,8 @@ integrator : main.o quadratures.o functions.o
integrator_single : main_single.o quadratures_single.o functions_single.o
$(FC) $^ -o $@
+results: res/1image_results res/5images_results res/times
+
res/1image_results : integrator run.sh
./run.sh 1 > $@
@@ -57,4 +59,4 @@ res/times : integrator integrator_single measure_times.sh
clean :
-rm integrator{,_single} *.{mod,o}
-.PHONY : all clean
+.PHONY : all clean results