diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6f3251b --- /dev/null +++ b/Makefile @@ -0,0 +1,19 @@ +FC = gfortran +FFLAGS = -std=f2008 -Wall -pedantic -fbounds-check -fimplicit-none \ + -ffree-form -fcoarray=lib -O2 -c +LDFLAGS = -lcaf_mpi + +all : integrator + +main.o main.mod : quadratures.mod functions.mod + +%.mod %.o : src/%.f90 + $(FC) $(FFLAGS) $< + +integrator : main.o quadratures.o functions.o + $(FC) $(LDFLAGS) $^ -o $@ + +clean : + -rm integrator *.{mod,o} + +.PHONY : all clean |