From 9aca0009ddae08ac7a98df518fbc0c95f11e8691 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Sat, 1 Jun 2019 16:46:16 +0200 Subject: compile f1, don't use build/ --- Makefile | 15 +++++++++++++-- 1 file 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 -- cgit v1.2.3