11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.32 2002/05/07 23:50:34 geraint
## Preliminary support for Matlab dynamically linked shared objects:
## invoke with: mtt -cc sys rep mexglx
## ode2odes support is not yet included.
##
## Revision 1.31 2002/05/02 20:12:45 geraint
## Added -Wl,--rpath to MTT_CXXLIBS. Sets the runtime linker path so that the
|
>
>
>
|
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
###############################################################
## Version control history
###############################################################
## $Id$
## $Log$
## Revision 1.33 2002/05/08 11:39:36 gawthrop
## Added MTT_REP to PATH
##
## Revision 1.32 2002/05/07 23:50:34 geraint
## Preliminary support for Matlab dynamically linked shared objects:
## invoke with: mtt -cc sys rep mexglx
## ode2odes support is not yet included.
##
## Revision 1.31 2002/05/02 20:12:45 geraint
## Added -Wl,--rpath to MTT_CXXLIBS. Sets the runtime linker path so that the
|
238
239
240
241
242
243
244
245
246
247
248
|
MATLAB_LIBS="-Wl,--rpath-link,${MATLAB_ROOT}/extern/lib/${MATLAB_ARCH},--rpath-link,${MATLAB_ROOT}/bin/${MATLAB_ARCH} -L${MATLAB_ROOT}/bin/${MATLAB_ARCH} -lmx -lmex -lm"
# exported variables
export MTT_CXX="g++"
export MTT_CXXFLAGS="${DEBUG} ${OPTIM} ${FLAGS}"
export MTT_CXXLIBS="${LOCTAVE} ${LSYSTEM}"
export MTT_CXXINCS="-I. ${IOCTAVE}"
export MTT_LDFLAGS=" "
export MTT_MATLAB_FLAGS="${MATLAB_FLAGS} ${MATLAB_INCS} ${MATLAB_LIBS}"
fi
|
|
|
241
242
243
244
245
246
247
248
249
250
251
|
MATLAB_LIBS="-Wl,--rpath-link,${MATLAB_ROOT}/extern/lib/${MATLAB_ARCH},--rpath-link,${MATLAB_ROOT}/bin/${MATLAB_ARCH} -L${MATLAB_ROOT}/bin/${MATLAB_ARCH} -lmx -lmex -lm"
# exported variables
export MTT_CXX="g++"
export MTT_CXXFLAGS="${DEBUG} ${OPTIM} ${FLAGS}"
export MTT_CXXLIBS="${LOCTAVE} ${LSYSTEM}"
export MTT_CXXINCS="-I. -I${MTT_LIB}/cc ${IOCTAVE}"
export MTT_LDFLAGS=" "
export MTT_MATLAB_FLAGS="${MATLAB_FLAGS} ${MATLAB_INCS} ${MATLAB_LIBS}"
fi
|