aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 772ca48..8c77b48 100644
--- a/Makefile
+++ b/Makefile
@@ -7,6 +7,12 @@ all : f1
f1 : src/f1.f90
$(FC) $(FFLAGS) src/f1.f90 -o $@
+res/f1_original.txt : f1
+ ./f1 > res/f1_original.txt
+
+res/%.png : src/%.gnuplot res/%.txt
+ gnuplot -c $<
+
clean :
rm f1