Revision 924

trunk/scripts/mingw/Makefile (revision 924)
1
.PHONY: check
2

  
3
default: check simple
4

  
5
all: check admb admb-re
6

  
7
check:
8
	@if "%ADMB_HOME%"=="" echo "Error: ADMB_HOME is not defined" && exit 1 
9
	@if not exist %ADMB_HOME%\bin\admb.bat echo "Error: admb.bat does not exist" && exit 1 
10

  
11
admb: \
12
buscycle\
13
catage \
14
chem-eng \
15
forest \
16
finance \
17
pella-t \
18
robreg \
19
truncreg \
20
simple \
21
vol
22

  
23
buscycle: ham4 ham5
24
ham4:
25
	cd examples\\admb\\buscycle && admb.bat $@ && $@
26
	cd examples\\admb\\buscycle && admb.bat -s $@ && $@
27

  
28
ham5:
29
	cd examples\\admb\\buscycle && admb.bat $@ && $@
30
	cd examples\\admb\\buscycle && admb.bat -s $@ && $@
31

  
32
chem-eng:
33
	cd examples\\admb\\$@ && admb.bat $@ && $@
34
	cd examples\\admb\\$@ && admb.bat -s $@ && $@
35

  
36
catage:
37
	cd examples\\admb\\$@ && admb.bat $@ && $@
38
	cd examples\\admb\\$@ && admb.bat -s $@ && $@
39

  
40
finance:
41
	cd examples\\admb\\$@ && admb.bat $@ && $@
42
	cd examples\\admb\\$@ && admb.bat -s $@ && $@
43

  
44
forest:
45
	@REM cd examples/admb/$@ && admb.bat $@ && $@
46
	@REM cd examples/admb/$@ && admb.bat -s $@ && $@
47

  
48
pella-t:
49
	cd examples\\admb\\$@ && admb.bat $@ && $@
50
	cd examples\\admb\\$@ && admb.bat -s $@ && $@
51

  
52
robreg: vonb vonbr
53
vonb:
54
	cd examples\\admb\\robreg && admb.bat $@ && $@
55
	cd examples\\admb\\robreg && admb.bat -s $@ && $@
56

  
57
vonbr:
58
	cd examples\\admb\\robreg && admb.bat $@ && $@
59
	cd examples\\admb\\robreg && admb.bat -s $@ && $@
60

  
61
simple:
62
	cd examples\\admb\\$@ && admb.bat $@ && $@
63
	cd examples\\admb\\$@ && admb.bat -s $@ && $@
64

  
65
truncreg:
66
	@REM cd examples/admb/$@ && admb.bat $@ && runtrunc.bat && fruntrunc.bat
67
	@REM cd examples/admb/$@ && admb.bat -s $@ && runtrunc.bat && fruntrunc.bat
68

  
69
vol: n2mvol
70
n2mvol:
71
	cd examples\\admb\\vol && admb.bat $@ && $@
72
	cd examples\\admb\\vol && admb.bat -s $@ && $@
73

  
74
admb-re:\
75
bcb \
76
biglog \
77
bvprobit \
78
caest \
79
gamma \
80
kidney \
81
lidar \
82
logistic \
83
nbmm \
84
nested4 \
85
orange \
86
orange2 \
87
orange_cor \
88
pheno \
89
polio \
90
sdv \
91
skewed \
92
socatt \
93
spatial \
94
union \
95
weights
96

  
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff