Revision 1926 trunk/scripts/admb/admb

admb (revision 1926)
150 150
fi
151 151
if [ "$library" == "opt" ]; then
152 152
  CXXFLAGS="$CXXFLAGS -DOPT_LIB"
153
else
154
  CXXFLAGS="$CXXFLAGS -DSAFE_ALL"
155 153
fi
156 154
if [ ! -f "$ADMB_HOME/contrib/lib/libcontrib.a" ]; then
157
  CXXFLAGS="$CXXFLAGS -Dlinux -DUSE_LAPLACE -I. -I\"$ADMB_HOME/include\" -I\"$ADMB_HOME/include/contrib\""
155
  CXXFLAGS="$CXXFLAGS -DUSE_LAPLACE -I. -I\"$ADMB_HOME/include\" -I\"$ADMB_HOME/include/contrib\""
158 156
else
159
  CXXFLAGS="$CXXFLAGS -Dlinux -DUSE_LAPLACE -I. -I\"$ADMB_HOME/include\" -I\"$ADMB_HOME/contrib/include\""
157
  CXXFLAGS="$CXXFLAGS -DUSE_LAPLACE -I. -I\"$ADMB_HOME/include\" -I\"$ADMB_HOME/contrib/include\""
160 158
fi
161 159
if [ "$CXX" == "adcomp-x86_64-w64-mingw32" ]; then
162 160
  LDFLAGS="--static $LDFLAGS"

Also available in: Unified diff