Revision 1510 trunk/scripts/admb/admb.bat

admb.bat (revision 1510)
361 361
    set tpl=%%~na
362 362
    @REM set CMD=adlink!d!!g!!r!!fast! !tpl!.obj !objs!
363 363
    if defined d (
364
      set CMD=!LD!!LDFLAGS! -o !tpl!.dll !objs! !libs!
364
      if "!CXX!"=="cl" (
365
        set CMD=!LD!!LDFLAGS! -o !tpl!.dll !objs! !libs!
366
      ) else (
367
        if defined objs (
368
          set CMD=!LD!!LDFLAGS! -o !tpl!.dll !tpl!.obj !objs! !libs!
369
        ) else (
370
          set CMD=!LD!!LDFLAGS! -o !tpl!.dll !tpl!.obj !libs!
371
        )
372
      )
365 373
    ) else (
366 374
      if "!CXX!"=="cl" (
367 375
        if defined objs (

Also available in: Unified diff