aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5019f1e..772ca48 100644
--- a/Makefile
+++ b/Makefile
@@ -1,2 +1,13 @@
-build/:
- mkdir build
+FC = gfortran
+FFLAGS = -std=f2008 -Wall -pedantic -fbounds-check -fimplicit-none \
+ -I/usr/include -lfftw3 -lm
+
+all : f1
+
+f1 : src/f1.f90
+ $(FC) $(FFLAGS) src/f1.f90 -o $@
+
+clean :
+ rm f1
+
+.PHONY : all clean