Revision 1430 trunk/examples/GNUmakefile

GNUmakefile (revision 1430)
1
ADMB_HOME=$(shell cd .. && pwd)/
1
ADMB_HOME=$(shell cd .. && pwd)
2 2

  
3 3
ifeq ($(OS),Windows_NT)
4 4
EXT=.sh
......
40 40

  
41 41
buscycle: ham4 ham5
42 42
ham4:
43
	pushd admb/buscycle && $(ADMB_HOME)admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@ -version && $(PROG) ./$@
43
	pushd admb/buscycle && $(ADMB_HOME)/admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@ -version && $(PROG) ./$@
44 44

  
45 45
ham5:
46
	pushd admb/buscycle && $(ADMB_HOME)admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@
46
	pushd admb/buscycle && $(ADMB_HOME)/admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@
47 47

  
48 48
catage:
49
	pushd admb/$@ && $(ADMB_HOME)admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@
49
	pushd admb/$@ && $(ADMB_HOME)/admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@
50 50

  
51 51
chem-eng:
52
	pushd admb/$@ && $(ADMB_HOME)admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@
52
	pushd admb/$@ && $(ADMB_HOME)/admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@
53 53

  
54 54
finance:
55
	pushd admb/$@ && $(ADMB_HOME)admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@
55
	pushd admb/$@ && $(ADMB_HOME)/admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@
56 56

  
57 57
forest:
58
	-pushd admb/$@ && $(ADMB_HOME)admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@
58
	-pushd admb/$@ && $(ADMB_HOME)/admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@
59 59

  
60 60
pella-t:
61
	pushd admb/$@ && $(ADMB_HOME)admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@
61
	pushd admb/$@ && $(ADMB_HOME)/admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@
62 62

  
63 63
robreg: vonb vonbr
64 64
vonb:
65
	pushd admb/robreg && $(ADMB_HOME)admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@
65
	pushd admb/robreg && $(ADMB_HOME)/admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@
66 66

  
67 67
vonbr:
68
	pushd admb/robreg && $(ADMB_HOME)admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@
68
	pushd admb/robreg && $(ADMB_HOME)/admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@
69 69

  
70 70
simple:
71
	pushd admb/$@ && $(ADMB_HOME)admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@
71
	pushd admb/$@ && $(ADMB_HOME)/admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@
72 72

  
73 73
truncreg:
74
	pushd admb/$@ && $(ADMB_HOME)admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@ -ams 2000000 && $(PROG) ./$@ -ams 2000000 -gbs 6000000 -cbs 4000000
74
	pushd admb/$@ && $(ADMB_HOME)/admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@ -ams 2000000 && $(PROG) ./$@ -ams 2000000 -gbs 6000000 -cbs 4000000
75 75

  
76 76
vol: n2mvol
77 77
n2mvol:
78
	pushd admb/vol && $(ADMB_HOME)admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@ -nohess
78
	pushd admb/vol && $(ADMB_HOME)/admb$(EXT)$(OPTIONS) $@ && $(PROG) ./$@ -nohess
79 79

  
80 80
admb-re:\
81 81
 bcb\
......
102 102
 weights
103 103

  
104 104
bcb:
105
	pushd admb-re/$@ && $(ADMB_HOME)admb$(EXT) -r$(OPTIONS) $@ && $(PROG) ./$@
105
	pushd admb-re/$@ && $(ADMB_HOME)/admb$(EXT) -r$(OPTIONS) $@ && $(PROG) ./$@
106 106

  
107 107
biglog:
108
	pushd admb-re/$@ && $(ADMB_HOME)admb$(EXT) -r$(OPTIONS) $@ && $(PROG) ./$@
108
	pushd admb-re/$@ && $(ADMB_HOME)/admb$(EXT) -r$(OPTIONS) $@ && $(PROG) ./$@
109 109

  
110 110
bvprobit:
111 111
	@#Do not catch for admb-9.x
112
	-pushd admb-re/glmmadmb && $(ADMB_HOME)admb$(EXT) -r$(OPTIONS) $@ && $(PROG) ./$@
112
	-pushd admb-re/glmmadmb && $(ADMB_HOME)/admb$(EXT) -r$(OPTIONS) $@ && $(PROG) ./$@
113 113

  
114 114
glmmadmb:
115 115
	@#Do not catch for admb-9.x
116
	-pushd admb-re/$@ && $(ADMB_HOME)admb$(EXT) -r$(OPTIONS) $@ && $(PROG) ./$@
116
	-pushd admb-re/$@ && $(ADMB_HOME)/admb$(EXT) -r$(OPTIONS) $@ && $(PROG) ./$@
117 117

  
118 118
caest:
119
	pushd admb-re/$@ && $(ADMB_HOME)admb$(EXT) -r$(OPTIONS) $@ && $(PROG) ./$@
119
	pushd admb-re/$@ && $(ADMB_HOME)/admb$(EXT) -r$(OPTIONS) $@ && $(PROG) ./$@
120 120

  
121 121
gamma:
122
	-pushd admb-re/$@ && $(ADMB_HOME)admb$(EXT) -r$(OPTIONS) liver_$@ && $(PROG) ./liver_$@
122
	-pushd admb-re/$@ && $(ADMB_HOME)/admb$(EXT) -r$(OPTIONS) liver_$@ && $(PROG) ./liver_$@
123 123

  
124 124
kidney:
125
	pushd admb-re/$@ && $(ADMB_HOME)admb$(EXT) -r$(OPTIONS) $@ && $(PROG) ./$@
125
	pushd admb-re/$@ && $(ADMB_HOME)/admb$(EXT) -r$(OPTIONS) $@ && $(PROG) ./$@
126 126

  
127 127
lidar:
128
	pushd admb-re/$@ && $(ADMB_HOME)admb$(EXT) -r$(OPTIONS) $@ && $(PROG) ./$@
128
	pushd admb-re/$@ && $(ADMB_HOME)/admb$(EXT) -r$(OPTIONS) $@ && $(PROG) ./$@
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff