forked from phuicy/ROBOOP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile.vcpp
220 lines (152 loc) · 4.28 KB
/
makefile.vcpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
# Roboop Makefile for Visual C++
#
#
# Visual C++ tools
#
CC = cl
LINK = link
AR = lib
#
# Options
#
CFLAGS = -Inewmat -Isource -GX -O2 -D_STANDARD_
#
# Implicit rules
#
{source}.cpp.obj:
$(CC) $(CFLAGS) -c -o$@ $<
{newmat}.cpp.obj:
$(CC) $(CFLAGS) -c -o$@ $<
#
# Dependency List
#
deproboop = \
demo.exe\
demo_2dof_pd.exe\
bench.exe\
rtest.exe
roboop : $(deproboop)
echo MakeNode
depdemodexe = \
roboop.lib\
newmat.lib\
source\demo.cpp
demo.exe : $(depdemodexe) source\utils.h source\robot.h source\quaternion.h source\gnugraph.h
$(CC) $(CFLAGS) -Fe$@ source\demo.cpp roboop.lib newmat.lib user32.lib
deproboopdlib = \
gnugraph.obj\
comp_dq.obj\
comp_dqp.obj\
delta_t.obj\
dynamics.obj\
homogen.obj\
invkine.obj\
kinemat.obj\
robot.obj\
sensitiv.obj\
utils.obj\
config.obj\
quaternion.obj\
trajectory.obj\
controller.obj\
control_select.obj\
dynamics_sim.obj\
clik.obj\
stewart.obj
roboop.lib : $(deproboopdlib)
$(AR) /OUT:$@ $(deproboopdlib)
control_select.obj: source/control_select.cpp source/control_select.h
controller.obj: source/controller.cpp source/controller.h
dynamics_sim.obj: source/dynamics_sim.cpp source/dynamics_sim.h
trajectory.obj: source/trajectory.cpp source/trajectory.h
clik.obj : source/clik.cpp source/clik.h source/utils.h source/robot.h
gnugraph.obj : source\gnugraph.cpp source\gnugraph.h source\utils.h source\robot.h
comp_dq.obj : source\comp_dq.cpp source\utils.h source\robot.h
comp_dqp.obj : source\comp_dqp.cpp source\utils.h source\robot.h
delta_t.obj : source\delta_t.cpp source\utils.h source\robot.h
dynamics.obj : source\dynamics.cpp source\utils.h source\robot.h
homogen.obj : source\homogen.cpp source\utils.h source\robot.h
invkine.obj : source\invkine.cpp source\utils.h source\robot.h
kinemat.obj : source\kinemat.cpp source\utils.h source\robot.h
robot.obj : source\robot.cpp source\utils.h source\robot.h
sensitiv.obj : source\sensitiv.cpp source\utils.h source\robot.h
utils.obj : source\utils.cpp source\utils.h source\robot.h
config.obj : source\config.cpp source\config.h
quaternion.obj : source\quaternion.cpp source\utils.h source\robot.h source\quaternion.h
stewart.obj : source\stewart.cpp source\stewart.h source\utils.h
depnewmatdlib = \
bandmat.obj\
cholesky.obj\
evalue.obj\
fft.obj\
newfft.obj\
hholder.obj\
jacobi.obj\
myexcept.obj\
newmat1.obj\
newmat2.obj\
newmat3.obj\
newmat4.obj\
newmat5.obj\
newmat6.obj\
newmat7.obj\
newmat8.obj\
newmat9.obj\
newmatex.obj\
newmatnl.obj\
newmatrm.obj\
nm_misc.obj\
solution.obj\
sort.obj\
submat.obj\
svd.obj
newmat.lib : $(depnewmatdlib)
$(AR) /OUT:$@ $(depnewmatdlib)
bandmat.obj : newmat\bandmat.cpp
cholesky.obj : newmat\cholesky.cpp
evalue.obj : newmat\evalue.cpp
fft.obj : newmat\fft.cpp
newfft.obj : newmat\newfft.cpp
hholder.obj : newmat\hholder.cpp
jacobi.obj : newmat\jacobi.cpp
myexcept.obj : newmat\myexcept.cpp
newmat1.obj : newmat\newmat1.cpp
newmat2.obj : newmat\newmat2.cpp
newmat3.obj : newmat\newmat3.cpp
newmat4.obj : newmat\newmat4.cpp
newmat5.obj : newmat\newmat5.cpp
newmat6.obj : newmat\newmat6.cpp
newmat7.obj : newmat\newmat7.cpp
newmat8.obj : newmat\newmat8.cpp
newmat9.obj : newmat\newmat9.cpp
newmatex.obj : newmat\newmatex.cpp
newmatnl.obj : newmat\newmatnl.cpp
newmatrm.obj : newmat\newmatrm.cpp
nm_misc.obj : newmat\nm_misc.cpp
solution.obj : newmat\solution.cpp
sort.obj : newmat\sort.cpp
submat.obj : newmat\submat.cpp
svd.obj : newmat\svd.cpp
depbenchdexe = \
newmat.lib\
roboop.lib\
source\bench.cpp
bench.exe : $(depbenchdexe) source\utils.h source\robot.h
$(CC) $(CFLAGS) -Fe$@ source\bench.cpp newmat.lib roboop.lib
deprtestdexe = \
newmat.lib\
roboop.lib\
source\rtest.cpp
rtest.exe : $(deprtestdexe) source\utils.h source\robot.h source\quaternion.h
$(CC) $(CFLAGS) -Fe$@ source\rtest.cpp newmat.lib roboop.lib
depdemo_2dof_pddexe = \
newmat.lib\
roboop.lib\
source\demo_2dof_pd.cpp
demo_2dof_pd.exe : $(depdemo_2dof_pddexe) source\utils.h source\robot.h source\quaternion.h
$(CC) $(CFLAGS) -Fe$@ source\demo_2dof_pd.cpp newmat.lib roboop.lib user32.lib
clean:
del *.obj
del *.lib
veryclean: clean
del *.exe