Revision 1419

trunk/scripts/admb/adlink.bat (revision 1419)
16 16
    )
17 17
  )
18 18
)
19
call admb $args
19
call admb !args!
trunk/scripts/admb/adcomp.bat (revision 1419)
16 16
    )
17 17
  )
18 18
)
19
call admb -c $args
19
call admb -c !args!
trunk/scripts/admb/admb.bat (revision 1419)
15 15
  goto EOF
16 16
)
17 17

  
18
if defined ADMB_HOME (
19
  set ADMB_HOME=
20
)
21
if defined ADMB_HOME (
22
  echo "Error: Unable to unset ADMB_HOME=!ADMB_HOME!."
23
  goto EOF
24
)
25
for %%a in (%0) do (
26
  set HAS_PATH=%%~$PATH:a
27
  if defined HAS_PATH (
28
    set ADMB_PATH="%%~dp$PATH:a"
29
  ) else (
30
    set ADMB_PATH="%%~dpa"
18
if not defined ADMB_HOME (
19
  for %%a in (%0) do (
20
    set HAS_PATH=%%~$PATH:a
21
    if defined HAS_PATH (
22
      set ADMB_PATH="%%~dp$PATH:a"
23
    ) else (
24
      set ADMB_PATH="%%~dpa"
25
    )
26
    pushd !ADMB_PATH!\..
27
    set ADMB_HOME=!CD!
28
    popd
31 29
  )
32
  pushd !ADMB_PATH!\..
33
  set ADMB_HOME=!CD!
34
  popd
35 30
)
36 31
if not defined ADMB_HOME (
37 32
  echo "Error: ADMB_HOME is not defined."
......
141 136
    set LL=dllwrap
142 137
  )
143 138
)
144
if defined debug (
139
if defined g (
145 140
  set CXXFLAGS=!CXXFLAGS! -g
146 141
  set LDFLAGS=!LDFLAGS! -s
147 142
) else (
trunk/scripts/admb/adlink (revision 1419)
9 9
  if [ "-" = "${arg:0:1}" ]; then
10 10
    args="$args $arg"
11 11
  elif [ "$extension" = "$arg" ]; then
12
    args="$args ${arg}.obj
12
    args="$args ${arg}.obj"
13 13
  else
14 14
    args="$args $arg"
15 15
  fi
trunk/src/GNUmakefile (revision 1419)
107 107

  
108 108
all: revision dist contrib
109 109
	@echo ADMB build completed.
110
	@echo For installation, check README.txt.
110
	@echo Check README.txt for usage and installation information.
111 111

  
112 112
shared: includes objects
113 113
	$(CXX) -shared -o${DIST}/lib/libadmb.so ../build/objects/dist/saflp-*.obj
114 114
	$(CXX) -shared -o${DIST}/lib/libadmbo.so ../build/objects/dist/optlp-*.obj
115 115
	@echo ADMB shared build completed.
116
	@echo For installation, check README.txt.
116
	@echo Check README.txt for usage and installation information.
117 117

  
118 118
revision:
119 119
ifeq ($(SHELL),sh.exe)
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff