Revision 1163 trunk/scripts/admb/adlink.bat

adlink.bat (revision 1163)
30 30
if not defined libs set libs="%ADMB_HOME%\contrib\lib\libcontribo.a" "%ADMB_HOME%\lib\libadmbo.a" 
31 31

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

  
35
call "%ADMB_HOME%"\bin\admb-cfg.bat
35
if exist "%ADMB_HOME%"\bin\admb-cfg.bat call "%ADMB_HOME%"\bin\admb-cfg.bat
36 36
if defined LDFLAGS (
37 37
  set LDFLAGS=%LDFLAGS% %ADMB_CFG_LDFLAGS%
38 38
) else (

Also available in: Unified diff