Statistics
| Revision:

root / trunk / scripts / admb / adlink.bat @ 1419

History | View | Annotate | Download (361 Bytes)

1
@echo off
2
@REM
3
@REM  Copyright 2013 (c) ADMB Foundation
4
@REM
5
setlocal EnableExtensions EnableDelayedExpansion
6
set args=
7
for %%a in (%*) do (
8
  set arg=%%a
9
  if "!arg:~0,1!"=="-" (
10
      set args=!args! !arg!
11
  ) else (
12
    if "%%~xa"=="" (
13
      set args=!args! !arg!.obj
14
    ) else (
15
      set args=!args! !arg!
16
    )
17
  )
18
)
19
call admb !args!