Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: orxonox.OLD/orxonox/trunk/src/util/newmat/Makefile @ 4565

Last change on this file since 4565 was 4565, checked in by patrick, 19 years ago

orxonox/trunk: added the newmat library to the project. needs some translation in directory, temp under util/newmat. is needed by the collision detection engine to perform lin alg operations such as eigenvector decomposition. perhaps we will make our own library to do that later.

File size: 6.2 KB
Line 
1CXX = g++
2CXXFLAGS = -O2 -Wall
3
4DIFF = ./sdiff
5PRE = ./
6MAJOR = 1
7MINOR = 0
8
9%.o:            %.cpp
10                $(CXX) $(CXXFLAGS) -c $*.cpp
11
12everything:     tmt example test_exc nl_ex sl_ex garch eigen
13
14newmat_lobj = newmat1.o newmat2.o newmat3.o newmat4.o newmat5.o newmat6.o newmat7.o newmat8.o newmatex.o bandmat.o submat.o myexcept.o cholesky.o evalue.o fft.o hholder.o jacobi.o newfft.o sort.o svd.o newmatrm.o newmat9.o
15
16libnewmat.a:    $(newmat_lobj)
17                $(AR) -cr $@ $(newmat_lobj)
18                ranlib $@
19
20tmt_obj = tmt.o tmt1.o tmt2.o tmt3.o tmt4.o tmt5.o tmt6.o tmt7.o tmt8.o tmt9.o tmta.o tmtb.o tmtc.o tmtd.o tmte.o tmtf.o tmtg.o tmth.o tmti.o tmtj.o tmtk.o tmtl.o tmtm.o
21
22tmt:            $(tmt_obj) libnewmat.a
23                $(CXX) -o $@ $(tmt_obj) -L. -lnewmat -lm
24
25example_obj = example.o
26
27example:        $(example_obj) libnewmat.a
28                $(CXX) -o $@ $(example_obj) -L. -lnewmat -lm
29
30test_exc_obj = test_exc.o
31
32test_exc:       $(test_exc_obj) libnewmat.a
33                $(CXX) -o $@ $(test_exc_obj) -L. -lnewmat -lm
34
35nl_ex_obj = nl_ex.o newmatnl.o
36
37nl_ex:          $(nl_ex_obj) libnewmat.a
38                $(CXX) -o $@ $(nl_ex_obj) -L. -lnewmat -lm
39
40sl_ex_obj = sl_ex.o solution.o myexcept.o
41
42sl_ex:          $(sl_ex_obj)
43                $(CXX) -o $@ $(sl_ex_obj) -L. -lm
44
45garch_obj = garch.o newmatnl.o
46
47garch:          $(garch_obj) libnewmat.a
48                $(CXX) -o $@ $(garch_obj) -L. -lnewmat -lm
49
50#Eigen: PB
51eigen_obj = eigen.o newmatnl.o
52eigen:          $(eigen_obj) libnewmat.a
53                $(CXX) -o $@ $(eigen_obj) -L. -lnewmat -lm
54
55newmat1.o:      newmat1.cpp newmat.h include.h boolean.h myexcept.h
56
57newmat2.o:      newmat2.cpp include.h newmat.h newmatrc.h boolean.h myexcept.h controlw.h
58
59newmat3.o:      newmat3.cpp include.h newmat.h newmatrc.h boolean.h myexcept.h controlw.h
60
61newmat4.o:      newmat4.cpp include.h newmat.h newmatrc.h boolean.h myexcept.h controlw.h
62
63newmat5.o:      newmat5.cpp include.h newmat.h newmatrc.h boolean.h myexcept.h controlw.h
64
65newmat6.o:      newmat6.cpp include.h newmat.h newmatrc.h boolean.h myexcept.h controlw.h
66
67newmat7.o:      newmat7.cpp include.h newmat.h newmatrc.h boolean.h myexcept.h controlw.h
68
69newmat8.o:      newmat8.cpp include.h newmat.h newmatrc.h precisio.h boolean.h myexcept.h controlw.h
70
71newmatex.o:     newmatex.cpp include.h newmat.h boolean.h myexcept.h
72
73bandmat.o:      bandmat.cpp include.h newmat.h newmatrc.h boolean.h myexcept.h controlw.h
74
75submat.o:       submat.cpp include.h newmat.h newmatrc.h boolean.h myexcept.h controlw.h
76
77myexcept.o:     myexcept.cpp include.h boolean.h myexcept.h
78
79cholesky.o:     cholesky.cpp include.h newmat.h boolean.h myexcept.h
80
81evalue.o:       evalue.cpp include.h newmatap.h newmatrm.h precisio.h newmat.h boolean.h myexcept.h
82
83fft.o:          fft.cpp include.h newmatap.h newmat.h boolean.h myexcept.h
84
85hholder.o:      hholder.cpp include.h newmatap.h newmat.h boolean.h myexcept.h
86
87jacobi.o:       jacobi.cpp include.h newmatap.h precisio.h newmatrm.h newmat.h boolean.h myexcept.h
88
89newfft.o:       newfft.cpp newmatap.h newmat.h include.h boolean.h myexcept.h
90
91sort.o:         sort.cpp include.h newmatap.h newmat.h boolean.h myexcept.h
92
93svd.o:          svd.cpp include.h newmatap.h newmatrm.h precisio.h newmat.h boolean.h myexcept.h
94
95newmatrm.o:     newmatrm.cpp newmat.h newmatrm.h include.h boolean.h myexcept.h
96
97newmat9.o:      newmat9.cpp include.h newmat.h newmatio.h newmatrc.h boolean.h myexcept.h controlw.h
98
99tmt.o:          tmt.cpp include.h newmat.h tmt.h boolean.h myexcept.h
100
101tmt1.o:         tmt1.cpp include.h newmat.h tmt.h boolean.h myexcept.h
102
103tmt2.o:         tmt2.cpp include.h newmat.h tmt.h boolean.h myexcept.h
104
105tmt3.o:         tmt3.cpp include.h newmat.h tmt.h boolean.h myexcept.h
106
107tmt4.o:         tmt4.cpp include.h newmat.h tmt.h boolean.h myexcept.h
108
109tmt5.o:         tmt5.cpp include.h newmat.h tmt.h boolean.h myexcept.h
110
111tmt6.o:         tmt6.cpp include.h newmatap.h tmt.h newmat.h boolean.h myexcept.h
112
113tmt7.o:         tmt7.cpp include.h newmat.h tmt.h boolean.h myexcept.h
114
115tmt8.o:         tmt8.cpp include.h newmatap.h tmt.h newmat.h boolean.h myexcept.h
116
117tmt9.o:         tmt9.cpp include.h newmatap.h tmt.h newmat.h boolean.h myexcept.h
118
119tmta.o:         tmta.cpp include.h newmatap.h tmt.h newmat.h boolean.h myexcept.h
120
121tmtb.o:         tmtb.cpp include.h newmat.h tmt.h boolean.h myexcept.h
122
123tmtc.o:         tmtc.cpp include.h newmat.h tmt.h boolean.h myexcept.h
124
125tmtd.o:         tmtd.cpp include.h newmatap.h tmt.h newmat.h boolean.h myexcept.h
126
127tmte.o:         tmte.cpp include.h newmatap.h tmt.h newmat.h boolean.h myexcept.h
128
129tmtf.o:         tmtf.cpp include.h newmatap.h tmt.h newmat.h boolean.h myexcept.h
130
131tmtg.o:         tmtg.cpp include.h newmatap.h tmt.h newmat.h boolean.h myexcept.h
132
133tmth.o:         tmth.cpp include.h newmatap.h tmt.h newmat.h boolean.h myexcept.h
134
135tmti.o:         tmti.cpp include.h newmatap.h tmt.h newmat.h boolean.h myexcept.h
136
137tmtj.o:         tmtj.cpp include.h newmatap.h tmt.h newmat.h boolean.h myexcept.h
138
139tmtk.o:         tmtk.cpp include.h newmatap.h newmatio.h tmt.h newmat.h boolean.h myexcept.h
140
141tmtl.o:         tmtl.cpp newmat.h tmt.h include.h boolean.h myexcept.h
142
143tmtm.o:         tmtm.cpp newmat.h tmt.h include.h boolean.h myexcept.h
144
145example.o:      example.cpp newmatap.h newmatio.h newmat.h include.h boolean.h myexcept.h
146
147test_exc.o:     test_exc.cpp newmatap.h newmatio.h newmat.h include.h boolean.h myexcept.h
148
149nl_ex.o:        nl_ex.cpp newmatnl.h newmatio.h newmat.h include.h boolean.h myexcept.h
150
151newmatnl.o:     newmatnl.cpp newmatap.h newmatnl.h newmat.h include.h boolean.h myexcept.h
152
153sl_ex.o:        sl_ex.cpp include.h solution.h boolean.h myexcept.h
154
155solution.o:     solution.cpp include.h boolean.h myexcept.h solution.h
156
157garch.o:        garch.cpp newmatap.h newmatio.h newmatnl.h newmat.h include.h boolean.h myexcept.h
158
159eigen.o:        eigen.cpp include.h newmat.h newmatap.h newmatio.h
160
161tmt.txx:        tmt
162                $(PRE)tmt > tmt.txx
163                $(DIFF) tmt.txt tmt.txx
164
165example.txx:    example
166                $(PRE)example > example.txx
167                $(DIFF) example.txt example.txx
168
169test_exc.txx:   test_exc
170                $(PRE)test_exc > test_exc.txx
171                $(DIFF) test_exc.txt test_exc.txx
172
173nl_ex.txx:      nl_ex
174                $(PRE)nl_ex > nl_ex.txx
175                $(DIFF) nl_ex.txt nl_ex.txx
176
177sl_ex.txx:      sl_ex
178                $(PRE)sl_ex > sl_ex.txx
179                $(DIFF) sl_ex.txt sl_ex.txx
180
181garch.txx:      garch
182                $(PRE)garch > garch.txx
183                $(DIFF) garch.txt garch.txx
184
Note: See TracBrowser for help on using the repository browser.