options 627 Bytes
Newer Older
1
sinclude $(GENERAL_RULES)/mplib$(WM_MPLIB)
2
sinclude $(DEFAULT_RULES)/mplib$(WM_MPLIB)
mattijs's avatar
mattijs committed
3
4
5

EXE_INC = \
    $(PFLAGS) $(PINC) \
6
    -I$(SCOTCH_INC_DIR) \
7
    -I$(SCOTCH_ARCH_PATH)/include/$(FOAM_MPI) \
8
    -I../decompositionMethods/lnInclude
mattijs's avatar
mattijs committed
9

10
11
12
13
/*
 * The '-lscotch' is a slight hack:
 * ptscotch 6 requires scotch linked in, but does not declare the dependency
 */
mattijs's avatar
mattijs committed
14
LIB_LIBS = \
15
    -L$(SCOTCH_LIB_DIR) \
16
    -L$(FOAM_EXT_LIBBIN) \
17
    -L$(FOAM_EXT_LIBBIN)/$(FOAM_MPI) \
18
    -lptscotch -lptscotcherrexit \
19
20
21
22
23
24
    -lscotch

/* May require librt, but scotch does not declare the dependency */
ifeq ("$(SO)","so")
    LIB_LIBS += -lrt
endif