#
# Platform-specific build information
# Intel Pentium 4 running Linux
# gcc compiler
#

PLATFORM = pentium4-linux
PLATFORM_PREPROC_FLAG = PLATFORM_pentium4_linux

MAKE = gmake

#
# C compiler flags
# gcc
#
CC = gcc
CFLAGS = -DPLATFORM=$(PLATFORM)
COPTFLAGS = -march=pentiumpro -mcpu=pentiumpro -O4 \
	-funroll-all-loops -fmove-all-movables -freduce-all-givs \
	-fschedule-insns
CLDFLAGS = -lm


#
# Fortran 77 compiler flags
# g77
#
FC = g77
FFLAGS =
FOPTFLAGS = $(COPTFLAGS)
FLDFLAGS =

#
# Matlab compiler flags
#
MATLAB_PATH = /usr/sww/pkg/matlab-6.1/extern/lib/glnx86
MATLAB_LIB = -L$(MATLAB_PATH) -lmat -lmx -lmi -lut -rpath $(MATLAB_PATH)

#
# Vendor BLAS library
# Intel Math Kernel Library
#
LD_BLAS_VENDOR = -lpthread -L/usr/local/intel/mkl/LIB -lmkl32_p4 -lmkl32_def \
	-L/usr/sww/pkg/gcc-2.95.2/lib/gcc-lib/i686-pc-linux-gnu/2.95.2 -lg2c

#
# ATLAS BLAS library
#
LD_BLAS_ATLAS = -L/usr/local/lib/ATLAS/3.3.0 -lf77blas -latlas \
	-L/usr/sww/pkg/gcc-2.95.2/lib/gcc-lib/i686-pc-linux-gnu/2.95.2 -lg2c

#
# eof
#
