Revision 1128 trunk/scripts/admb/adlink.bat

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

  
35
set CMD=%linker% %sym% -static %def% -o %model%.exe %objects% %libs%
35
call "%ADMB_HOME%"\bin\admb-cfg.bat
36
if defined LDFLAGS (
37
  set LDFLAGS=%LDFLAGS% %ADMB_CFG_LDFLAGS%
38
) else (
39
  set LDFLAGS=%ADMB_CFG_LDFLAGS%
40
)
41

  
42
set CMD=%linker% %LDFLAGS% %sym% -static %def% -o %model%.exe %objects% %libs%
36 43
echo %CMD%
37 44
%CMD%
38 45

  

Also available in: Unified diff