aboutsummaryrefslogtreecommitdiff
path: root/src/make.configuration.defn
blob: abb780324e7572b51a267e6806d40dbfb734e6ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Main make.code.defn file for thorn PETSc_Elliptic
# $Header$

LIBDIRS += $(PETSC_DIR)/lib/libO/$(PETSC_ARCH)


#on linux system: the lapack libs (in rpms) are compiled with f2c/g77
#and need the -lg2c or -lf2c to be linked
#keep them at the end of lapack

MYLIBS := petsc petscdm petsccontrib \
	  petscts petscsnes  petscsles \
          petscmat  petscvec  \
	  blas lapack g2c \
	  mpich $(LIBS) 

LIBS	= $(MYLIBS)

EXTRAFLAGS = -I$(PETSC_DIR)/bmake/linux/base