Revision 1255 trunk/examples/GNUmakefile

GNUmakefile (revision 1255)
3 3
DEBUG_OPTION=-g
4 4
endif
5 5

  
6
ifdef SAFE_OPTION
7
SAFE_OPTION=-s
6
ifdef FAST_OPTION
7
FAST_OPTION=-f
8 8
endif
9 9

  
10 10
ifdef PROG_VALGRIND
......
36 36

  
37 37
buscycle: ham4 ham5
38 38
ham4:
39
	cd admb/buscycle;rm -f @.par @.std;admb $(SAFE_OPTION) $(DEBUG_OPTION) $@;$(PROG) ./$@ -version;$(PROG) ./$@
39
	cd admb/buscycle;rm -f @.par @.std;admb $(FAST_OPTION) $(DEBUG_OPTION) $@;$(PROG) ./$@ -version;$(PROG) ./$@
40 40

  
41 41
ham5:
42
	cd admb/buscycle;rm -f @.par @.std;admb $(SAFE_OPTION) $(DEBUG_OPTION) $@;$(PROG) ./$@
42
	cd admb/buscycle;rm -f @.par @.std;admb $(FAST_OPTION) $(DEBUG_OPTION) $@;$(PROG) ./$@
43 43

  
44 44
catage:
45
	cd admb/$@;rm -f @.par @.std;admb $(SAFE_OPTION) $(DEBUG_OPTION) $@;$(PROG) ./$@
45
	cd admb/$@;rm -f @.par @.std;admb $(FAST_OPTION) $(DEBUG_OPTION) $@;$(PROG) ./$@
46 46

  
47 47
chem-eng:
48
	cd admb/$@;rm -f @.par @.std;admb $(SAFE_OPTION) $(DEBUG_OPTION) $@;$(PROG) ./$@
48
	cd admb/$@;rm -f @.par @.std;admb $(FAST_OPTION) $(DEBUG_OPTION) $@;$(PROG) ./$@
49 49

  
50 50
finance:
51
	cd admb/$@;rm -f @.par @.std;admb $(SAFE_OPTION) $(DEBUG_OPTION) $@;$(PROG) ./$@
51
	cd admb/$@;rm -f @.par @.std;admb $(FAST_OPTION) $(DEBUG_OPTION) $@;$(PROG) ./$@
52 52

  
53 53
forest:
54
	-cd admb/$@;rm -f @.par @.std;admb $(SAFE_OPTION) $(DEBUG_OPTION) $@;$(PROG) ./$@
54
	-cd admb/$@;rm -f @.par @.std;admb $(FAST_OPTION) $(DEBUG_OPTION) $@;$(PROG) ./$@
55 55

  
56 56
pella-t:
57
	cd admb/$@;rm -f @.par @.std;admb $(SAFE_OPTION) $(DEBUG_OPTION) $@;$(PROG) ./$@
57
	cd admb/$@;rm -f @.par @.std;admb $(FAST_OPTION) $(DEBUG_OPTION) $@;$(PROG) ./$@
58 58

  
59 59
robreg: vonb vonbr
60 60
vonb:
61
	cd admb/robreg;rm -f @.par @.std;admb $(SAFE_OPTION) $(DEBUG_OPTION) $@;$(PROG) ./$@
61
	cd admb/robreg;rm -f @.par @.std;admb $(FAST_OPTION) $(DEBUG_OPTION) $@;$(PROG) ./$@
62 62

  
63 63
vonbr:
64
	cd admb/robreg;rm -f @.par @.std;admb $(SAFE_OPTION) $(DEBUG_OPTION) $@;$(PROG) ./$@
64
	cd admb/robreg;rm -f @.par @.std;admb $(FAST_OPTION) $(DEBUG_OPTION) $@;$(PROG) ./$@
65 65

  
66 66
simple:
67
	cd admb/$@;rm -f @.par @.std;admb $(SAFE_OPTION) $(DEBUG_OPTION) $@;$(PROG) ./$@
67
	cd admb/$@;rm -f @.par @.std;admb $(FAST_OPTION) $(DEBUG_OPTION) $@;$(PROG) ./$@
68 68

  
69 69
truncreg:
70
	@cd admb/$@;rm -f @.par @.std;admb $(SAFE_OPTION) $(DEBUG_OPTION) $@;$(PROG) ./$@ -ams 2000000;$(PROG) ./$@ -ams 2000000 -gbs 6000000 -cbs 4000000
70
	@cd admb/$@;rm -f @.par @.std;admb $(FAST_OPTION) $(DEBUG_OPTION) $@;$(PROG) ./$@ -ams 2000000;$(PROG) ./$@ -ams 2000000 -gbs 6000000 -cbs 4000000
71 71

  
72 72
vol: n2mvol
73 73
n2mvol:
74
	cd admb/vol;rm -f @.par @.std;admb $(SAFE_OPTION) $(DEBUG_OPTION) $@;$(PROG) ./$@ -nohess
74
	cd admb/vol;rm -f @.par @.std;admb $(FAST_OPTION) $(DEBUG_OPTION) $@;$(PROG) ./$@ -nohess
75 75

  
76 76
admb-re:\
77 77
bcb \
......
98 98
weights
99 99

  
100 100
bcb:
101
	cd admb-re/$@;rm -f @.par @.std;admb -r $(DEBUG_OPTION) $(SAFE_OPTION) $@;$(PROG) ./$@
101
	cd admb-re/$@;rm -f @.par @.std;admb -r $(DEBUG_OPTION) $(FAST_OPTION) $@;$(PROG) ./$@
102 102

  
103 103
biglog:
104
	cd admb-re/$@;rm -f @.par @.std;admb -r $(DEBUG_OPTION) $(SAFE_OPTION) $@;$(PROG) ./$@
104
	cd admb-re/$@;rm -f @.par @.std;admb -r $(DEBUG_OPTION) $(FAST_OPTION) $@;$(PROG) ./$@
105 105

  
106 106
bvprobit:
107 107
	@#Do not catch for admb-9.x
108
	-cd admb-re/glmmadmb;rm -f @.par @.std;admb -r $(DEBUG_OPTION) $(SAFE_OPTION) $@;$(PROG) ./$@
108
	-cd admb-re/glmmadmb;rm -f @.par @.std;admb -r $(DEBUG_OPTION) $(FAST_OPTION) $@;$(PROG) ./$@
109 109

  
110 110
glmmadmb:
111 111
	@#Do not catch for admb-9.x
112
	-cd admb-re/$@;rm -f @.par @.std;admb -r $(DEBUG_OPTION) $(SAFE_OPTION) $@;$(PROG) ./$@
112
	-cd admb-re/$@;rm -f @.par @.std;admb -r $(DEBUG_OPTION) $(FAST_OPTION) $@;$(PROG) ./$@
113 113

  
114 114
caest:
115
	cd admb-re/$@;rm -f @.par @.std;admb -r $(DEBUG_OPTION) $(SAFE_OPTION) $@;$(PROG) ./$@
115
	cd admb-re/$@;rm -f @.par @.std;admb -r $(DEBUG_OPTION) $(FAST_OPTION) $@;$(PROG) ./$@
116 116

  
117 117
gamma:
118
	-cd admb-re/$@;rm -f @.par @.std;admb -r $(DEBUG_OPTION) $(SAFE_OPTION) liver_$@;$(PROG) ./liver_$@
118
	-cd admb-re/$@;rm -f @.par @.std;admb -r $(DEBUG_OPTION) $(FAST_OPTION) liver_$@;$(PROG) ./liver_$@
119 119

  
120 120
kidney:
121
	cd admb-re/$@;rm -f @.par @.std;admb -r $(DEBUG_OPTION) $(SAFE_OPTION) $@;$(PROG) ./$@
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff