EXE_INC = \
    -I$(SCOTCH_INC_DIR) \
    -I../decompositionMethods/lnInclude

LIB_LIBS = \
    -ldecompositionMethods \
    -L$(SCOTCH_LIB_DIR) \
    -lscotch

/* errexit, except for windows compile (already in library) */
ifeq (,$(findstring windows,$(WM_OSTYPE)))
    LIB_LIBS += -lscotcherrexit
endif

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