aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojtek Kosior <kwojtus@protonmail.com>2019-06-02 15:00:10 +0200
committerWojtek Kosior <kwojtus@protonmail.com>2019-06-02 15:00:10 +0200
commit243749ce645ea82dafadcbecf850090f9040b689 (patch)
tree95f850ffb4ceb749b2c1b7df0d9d6172c578e7d3
parentec0bf480229353c6de8c1836bd16fb31f4d26f58 (diff)
downloadfortran-assignment2-243749ce645ea82dafadcbecf850090f9040b689.tar.gz
fortran-assignment2-243749ce645ea82dafadcbecf850090f9040b689.zip
add rule for generating all plots
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a0d7d51..0145d23 100644
--- a/Makefile
+++ b/Makefile
@@ -29,6 +29,9 @@ endif
all : fourier
+pngs : res/f1_dft.png res/f1_original.png res/f2_dft.png \
+ res/f2_filtered.png res/f2_original.png
+
fourier : src/fourier.f90
$(FC) $(FFLAGS) $^ -o $@
@@ -53,4 +56,4 @@ res/%.png : src/%.gnuplot res/%.txt
clean :
-rm fourier res/*.txt
-.PHONY : all clean
+.PHONY : all clean pngs