Revision 1423

trunk/scripts/admb/admb.bat (revision 1423)
109 109
) else (
110 110
  set LDFLAGS= -static
111 111
)
112
if exist "!ADMB_HOME!"\bin\admb-cfg.bat (
113
  call "!ADMB_HOME!"\bin\admb-cfg.bat
112
if exist !ADMB_HOME!bin\admb-cfg.bat (
113
  call !ADMB_HOME!bin\admb-cfg.bat
114 114
  if defined ADMB_CFG_CXXFLAGS (
115 115
    set CXXFLAGS=!CXXFLAGS! !ADMB_CFG_CXXFLAGS!
116 116
  )
......
144 144
)
145 145
if defined fast (
146 146
  set CXXFLAGS=!CXXFLAGS! -DOPT_LIB
147
  set libs="%ADMB_HOME%"\contrib\lib\libcontribo.a "%ADMB_HOME%"\lib\libadmbo.a
147
  set libs=!ADMB_HOME!contrib\lib\libcontribo.a !ADMB_HOME!lib\libadmbo.a
148 148
) else (
149 149
  set CXXFLAGS=!CXXFLAGS! -DSAFE_ALL
150
  set libs="%ADMB_HOME%"\contrib\lib\libcontrib.a "%ADMB_HOME%"\lib\libadmb.a
150
  set libs=!ADMB_HOME!contrib\lib\libcontrib.a !ADMB_HOME!lib\libadmb.a
151 151
)
152 152
if defined d (
153 153
  set CXXFLAGS=!CXXFLAGS! -DBUILDING_DLL
154 154
)
155
set CXXFLAGS=!CXXFLAGS! -D__GNUDOS__ -Dlinux -DUSE_LAPLACE -fpermissive -I. -I"!ADMB_HOME!"\include -I"!ADMB_HOME!"\contrib\include
155
set CXXFLAGS=!CXXFLAGS! -D__GNUDOS__ -Dlinux -DUSE_LAPLACE -fpermissive -I. -I!ADMB_HOME!include -I!ADMB_HOME!contrib\include
156 156
if defined MINGW_HOME (
157
  set PATH=!ADMB_HOME!\bin;!MINGW_HOME!\bin;!PATH!
157
  set PATH=!ADMB_HOME!bin;!MINGW_HOME!\bin;!PATH!
158 158
) else (
159
  set PATH=!ADMB_HOME!\bin;!ADMB_HOME!\utilities\mingw\bin;!PATH!
159
  set PATH=!ADMB_HOME!bin;!ADMB_HOME!utilities\mingw\bin;!PATH!
160 160
)
161 161
if not defined tpls (
162 162
  if not defined srcs (

Also available in: Unified diff