Revision 1001 trunk/scripts/admb/adlink.bat

adlink.bat (revision 1001)
19 19
if %%a==-g set sym=
20 20
if %%a==-r set r=
21 21
if %%a==-s (
22
  set libs="%ADMB_HOME%\lib\libadmb.a" "%ADMB_HOME%\contrib\lib\libcontrib.a"
22
  set libs="%ADMB_HOME%\contrib\lib\libcontrib.a" "%ADMB_HOME%\lib\libadmb.a" 
23 23
)
24 24
)
25
if not defined libs set libs="%ADMB_HOME%\lib\libadmbo.a" "%ADMB_HOME%\contrib\lib\libcontribo.a"
25
if not defined libs set libs="%ADMB_HOME%\contrib\lib\libcontribo.a" "%ADMB_HOME%\lib\libadmbo.a" 
26 26

  
27 27
if %linker%==g++ (set out=-o %model%) else (set def=-def %model%.def^
28 28
 --driver-name g++ & set out=--output-lib lib%model%.a -o %model%.dll)

Also available in: Unified diff