APBSDIR=${APBS_PREFIX}
APBSINCL=-I$(APBSDIR)/include -I$(APBSDIR)/include/apbs

# the following line works with the Intel 11 compiler
#APBSLIB=-L$(APBSDIR)/lib -liapbs -lapbs_routines -lapbs_mg \
# -lapbs_generic -lapbs_pmgc -lmaloc -lz -lifcore

# gcc/g++
APBSLIB=-L$(APBSDIR)/lib -liapbs -lapbs_routines -lapbs_mg \
 -lapbs_generic -lapbs_pmgc -lmaloc -lz -lgfortran

APBSFLAGS=-DNAMD_APBS
APBS=$(APBSINCL) $(APBSFLAGS)
