
CPLUSPLUS	= mpicxx  -DMPI_ENABLED
CC		= mpicc -DMPI_ENABLED

# Location of Xerces XML parser library:
XERCES_INC	= -ISpines

# XERCES_LIB	= -L$(LIB) -lxerces-c1_5_1-x86_64-gcc411 -lpthread -lrt


# Need to use old Compaq assembler:
SYS_OPT		+= 

SYS_LANG	+= -mieee-fp

SYS_INCS	+=

SYS_LINK	+= 

SYS_LIBS	+= 

SYS_WARN	+= -ansi -pedantic -Wno-long-long


# compiler options controlling C++ dialects:
# for compiling
SYS_WARN	+= -fno-nonansi-builtins

# compiler options controlling C++ dialects:
# for optimization and code-generation
SYS_WARN	+= -Wctor-dtor-privacy -Wsign-promo -Woverloaded-virtual

# compiler options to request or suppress warnings:
# warnings not implied by -Wall and -Wextra
# SYS_WARN	+= -Wconversion

# preprocessor options (for additional warnings)
SYS_WARN	+= -Wendif-labels


# For more stringent checks, add the following options:

# SYS_WARN	+= -Wunused
# overrides -Wno-unused (i.e. standard -Wall)
# warns against unused functions, labels, parameters, variables and values

# SYS_WARN	+= -Wfloat-equal
# warns against floating point (in)equality comparisons

# SYS_WARN	+= -Wwrite-strings
# warns against code that can try to write into a string constant

# SYS_WARN	+= -Wold-style-cast
# warns against old-style (C-style) casts to non-void types in C++ programs

# SYS_WARN	+= -Wformat=2
# equivalent to -Wformat -Wformat-nonliteral -Wformat-security -Wformat-y2k
# -Wformat-nonliteral issues a warning if the format string (to printf, scanf, etc)
#		      is not a literal string and so cannot be checked
# -Wformat-security   issues a warning against using format functions that represent
#		      security problems, such as a nonliteral format string with
#		      no format arguments
# -Wformat-y2k	      issues a warning against strftime format which may yield
#		      a two-digit year
$(warning ----------------------------------------------------------)
$(warning using MPI: $(CC) / $(CPLUSPLUS))
$(warning ----------------------------------------------------------)
