Revision 1255

trunk/tests/gtests/Makefile (revision 1255)
8 8
	CXXFLAGS=-I$(GTEST_DIR)/include ../../admb gtest-all.o $^
9 9

  
10 10
test_df1b2atan2.o: test_df1b2atan2.cpp
11
	CXXFLAGS=-I$(GTEST_DIR)/include ../../build/dist/bin/adcomp -r $^
11
	CXXFLAGS=-I$(GTEST_DIR)/include ../../admb -c -r $^
12 12

  
13 13
df1b2atan2.o: df1b2atan2.cpp
14
	../../build/dist/bin/adcomp -r $^
14
	../../admb -c -r $^
15 15

  
16 16
clean:
17 17
	@rm -vf gtest-all *.o
trunk/examples/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) ./$@
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff