options 904 Bytes
Newer Older
Franjo's avatar
Franjo committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
ifeq (OpenFOAM,$(findstring OpenFOAM,$(WM_PROJECT)))
    CFMESH_LIBS = -lmeshTools -ltriSurface -lfiniteVolume -ledgeMesh
    ifeq (Int,$(findstring Int,$(WM_LABEL_OPTION)))
        CFMESH_MACROS = -DNoSizeType
    else
        CFMESH_MACROS =
    endif
endif

ifeq ($(WM_PROJECT), foam)
    VER := $(shell expr `echo $(WM_PROJECT_VERSION)` \>= 3.2)
    ifeq ($(VER), 1)
        CFMESH_LIBS = -lmeshTools -lfiniteVolume -ledgeMesh
        CFMESH_MACROS = -DExtendSpecific
    else
        CFMESH_LIBS = -lmeshTools -ltriSurface -lfiniteVolume -ledgeMesh
        CFMESH_MACROS =
    endif
endif

Franjo's avatar
Franjo committed
21
EXE_INC = \
Franjo's avatar
Franjo committed
22 23
    $(CFMESH_MACROS) \
    -I$(LIB_SRC)/triSurface/lnInclude \
Franjo's avatar
Franjo committed
24
    -I$(LIB_SRC)/meshTools/lnInclude \
Franjo's avatar
Franjo committed
25 26 27
    -I$(LIB_SRC)/finiteVolume/lnInclude \
    -I$(LIB_SRC)/edgeMesh/lnInclude \
    -I../../meshLibrary/lnInclude
Franjo's avatar
Franjo committed
28 29

EXE_LIBS = \
Franjo's avatar
Franjo committed
30
    $(CFMESH_LIBS) \
Franjo's avatar
Franjo committed
31
    -L$(FOAM_USER_LIBBIN) \
Franjo's avatar
Franjo committed
32
    -lmeshLibrary