diff options
author | Wojtek Kosior <kwojtus@protonmail.com> | 2019-06-01 16:46:16 +0200 |
---|---|---|
committer | Wojtek Kosior <kwojtus@protonmail.com> | 2019-06-01 16:46:16 +0200 |
commit | 9aca0009ddae08ac7a98df518fbc0c95f11e8691 (patch) | |
tree | d1a095de618e2e143ada8ccc5457813a2a3d3469 /Makefile | |
parent | 3e181f91fb807209f71c096dc06a66f6a9a47a61 (diff) | |
download | fortran-assignment2-9aca0009ddae08ac7a98df518fbc0c95f11e8691.tar.gz fortran-assignment2-9aca0009ddae08ac7a98df518fbc0c95f11e8691.zip |
compile f1, don't use build/
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 13 insertions, 2 deletions
@@ -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 |