Revision 1162 trunk/scripts/admb/admb.bat

admb.bat (revision 1162)
31 31
set objs=
32 32
set s=-s 
33 33
set bounds=-bounds
34
set debug=
34 35

  
35 36
for %%a in (%*) do (
36 37
  set arg=%%a
......
41 42
    )
42 43
    if %%a==-g (
43 44
      set g=-g
45
      set debug=-debug
44 46
    )
45 47
    if %%a==-r (
46 48
      set r=-r 
......
88 90
  del xxalloc.tmp xxalloc1.tmp xxalloc2.tmp xxalloc3.tmp xxalloc4.tmp xxalloc5.tmp xxalloc6.tmp header.tmp 2> NUL
89 91
  del tfile1 tfile2 tfile3 tfile4 tfile5 2> NUL
90 92
  del !model!.cpp !model!.htp !model!.obj !model!.exe 2> NUL
91
  set CMD=!parser! !bounds! !dll! !model!
93
  set CMD=!parser! !debug! !bounds! !dll! !model!
92 94
  echo.&echo *** !CMD!
93 95
  call !CMD!
94 96
  if not exist !model!.cpp goto ERROR

Also available in: Unified diff