From 7872d1912d8a477646a1eb2c16ebfda974bc8923 Mon Sep 17 00:00:00 2001 From: Paul Romano Date: Thu, 8 Dec 2011 20:56:20 +0000 Subject: [PATCH] Added Makefile option for IBM XL compiler. --- src/Makefile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/Makefile b/src/Makefile index ead9773356..5330a01238 100644 --- a/src/Makefile +++ b/src/Makefile @@ -106,6 +106,21 @@ ifeq ($(COMPILER),pgi) endif endif +#=============================================================================== +# IBM XL compiler options +#=============================================================================== + +ifeq ($(COMPILER),ibm) + F90 = xlf2003 + F90FLAGS := -WF,-DNO_F2008 + + # Debugging options + ifeq ($(DEBUG),yes) + F90FLAGS += -g + LDFLAGS += -g + endif +endif + #=============================================================================== # Cray compiler options #===============================================================================