diff options
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 |