diff --git a/src/Makefile b/src/Makefile index 51bb710090..0be3e51778 100644 --- a/src/Makefile +++ b/src/Makefile @@ -10,10 +10,12 @@ include OBJECTS # User Options #=============================================================================== -USE_MPI = no -DEBUG = no -PROFILE = no -OPTIMIZE = no +DEBUG = no +PROFILE = no +OPTIMIZE = no +USE_MPI = no +USE_OPENMP = no +USE_COARRAY = no #=============================================================================== # Compiler Options @@ -43,6 +45,15 @@ ifeq ($(USE_MPI),yes) F90FLAGS += -DMPI endif +ifeq ($(USE_OPENMP),yes) + F90FLAGS += -openmp + LDFLAGS += -openmp +endif + +ifeq ($(USE_COARRAY),yes) + F90FLAGS += -coarray +endif + #=============================================================================== # Targets #===============================================================================