Revision 1318

trunk/scripts/admb/root-admb (revision 1318)
1
#!/bin/bash
2
#
3
# Copyright (c) 2013 ADMB Foundation
4
#
5
shopt -s expand_aliases
6

  
7
SCRIPT_DIR=`dirname $0`
8
pushd "$SCRIPT_DIR" &> /dev/null
9
declare -rx ADMB_HOME="$PWD/build/dist"
10
popd &> /dev/null
11

  
12
PATH="$ADMB_HOME"/bin:$PATH
13

  
14
admb $*
15

  
16
exit 0
trunk/src/GNUmakefile (revision 1318)
395 395
  endif
396 396
	$(MAKE) --directory=df1b2-separable CC=$(CC) DISKDIR=../${DISK} bins
397 397
	$(MAKE) --directory=nh99 CC=$(CC) DISKDIR=../${DISK} bins
398
	ln -sf bin/admb ${DISK}
399
	ln -sf build/dist/bin/admb ..
400 398
  ifeq ($(OS),Windows_NT)
401 399
    ifneq ("$(TERM)","xterm")
402 400
	cp ../scripts/mingw/set-admb-mingw.bat ${DISK}/bin
......
408 406
	cp ../scripts/admb/adlink.bat ${DISK}/bin
409 407
	cp ../scripts/admb/admb.bat ${DISK}/bin
410 408
	cp ../scripts/admb/root-admb.bat ../admb.bat
409
	cp ../scripts/admb/root-admb ../admb
411 410
    endif
411
  else
412
	ln -sf bin/admb ${DISK}
413
	ln -sf build/dist/bin/admb ..
412 414
  endif
413 415
endif
414 416

  

Also available in: Unified diff