options 506 Bytes
Newer Older
1
2
3
4
/*
 * Note including of mplib compilation rules.
 * This is purely to avoid scotch.h including mpicxx.h, which causes problems.
 */
5
sinclude $(GENERAL_RULES)/mplib$(WM_MPLIB)
6
sinclude $(DEFAULT_RULES)/mplib$(WM_MPLIB)
7

8
EXE_INC = \
9
    $(PFLAGS) $(PINC) \
10
    -I$(SCOTCH_INC_DIR) \
11
12
13
    -I../decompositionMethods/lnInclude

LIB_LIBS = \
14
    -L$(SCOTCH_LIB_DIR) \
15
16
17
18
19
20
    -lscotch -lscotcherrexit

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