-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.vc
executable file
·533 lines (475 loc) · 9.98 KB
/
Makefile.vc
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
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
# PSOPT Makefile
all: libcxsparse.lib liblusol.lib libdmatrix.lib libpsopt.lib dmatrix_examples launch shutt \
moon stc1 brymr twolink twophsc twophro hyper bryden delay1 goddard sing5 climb cracking \
isop catmix chain obstacle crane ipc alpine lts user coulomb heat lambert bioreactor lowthr \
manutec missile steps twoburn notorious glider reorientation mpec zpm
libcxsparse.lib:
copy UFconfig.h CXSparse\Include
copy Makefile.cxsparse.vc CXSparse\Source\Makefile.vc
cd CXSparse\Source
$(MAKE) -f Makefile.vc
cd ..\..
liblusol.lib:
# cscript update_myblas_h.vbs
copy Makefile.lusol.vc lusol\csrc\Makefile.vc
cd lusol\csrc
$(MAKE) -f Makefile.vc
cd ..\..
libdmatrix.lib:
cd dmatrix\lib
$(MAKE) -f Makefile.vc
cd ..\..
libpsopt.lib:
cd PSOPT\lib
$(MAKE) -f Makefile.vc
cd ..\..
dmatrix_examples:
cd dmatrix\examples
$(MAKE) -f Makefile.vc all
cd ..\..
launch:
cd PSOPT\examples\launch
$(MAKE) -f Makefile.vc all
cd ..\..\..
brac1:
cd PSOPT\examples\brac1
$(MAKE) -f Makefile.vc all
cd ..\..\..
shutt:
cd PSOPT\examples\shutt
$(MAKE) -f Makefile.vc all
cd ..\..\..
moon:
cd PSOPT\examples\moon
$(MAKE) -f Makefile.vc all
cd ..\..\..
stc1:
cd PSOPT\examples\stc1
$(MAKE) -f Makefile.vc all
cd ..\..\..
brymr:
cd PSOPT\examples\brymr
$(MAKE) -f Makefile.vc all
cd ..\..\..
twolink:
cd PSOPT\examples\twolink
$(MAKE) -f Makefile.vc all
cd ..\..\..
twophsc:
cd PSOPT\examples\twophsc
$(MAKE) -f Makefile.vc all
cd ..\..\..
twophro:
cd PSOPT\examples\twophro
$(MAKE) -f Makefile.vc all
cd ..\..\..
hyper:
cd PSOPT\examples\hyper
$(MAKE) -f Makefile.vc all
cd ..\..\..
bryden:
cd PSOPT\examples\bryden
$(MAKE) -f Makefile.vc all
cd ..\..\..
delay1:
cd PSOPT\examples\delay1
$(MAKE) -f Makefile.vc all
cd ..\..\..
goddard:
cd PSOPT\examples\goddard
$(MAKE) -f Makefile.vc all
cd ..\..\..
sing5:
cd PSOPT\examples\sing5
$(MAKE) -f Makefile.vc all
cd ..\..\..
climb:
cd PSOPT\examples\climb
$(MAKE) -f Makefile.vc
cd ..\..\..
cracking:
cd PSOPT\examples\cracking
$(MAKE) -f Makefile.vc all
cd ..\..\..
isop:
cd PSOPT\examples\isop
$(MAKE) -f Makefile.vc all
cd ..\..\..
crane:
cd PSOPT\examples\crane
$(MAKE) -f Makefile.vc all
cd ..\..\..
ipc:
cd PSOPT\examples\ipc
$(MAKE) -f Makefile.vc all
cd ..\..\..
catmix:
cd PSOPT\examples\catmix
$(MAKE) -f Makefile.vc all
cd ..\..\..
chain:
cd PSOPT\examples\chain
$(MAKE) -f Makefile.vc all
cd ..\..\..
obstacle:
cd PSOPT\examples\obstacle
$(MAKE) -f Makefile.vc all
cd ..\..\..
alpine:
cd PSOPT\examples\alpine
$(MAKE) -f Makefile.vc all
cd ..\..\..
lts:
cd PSOPT\examples\lts
$(MAKE) -f Makefile.vc all
cd ..\..\..
user:
cd PSOPT\examples\user
$(MAKE) -f Makefile.vc all
cd ..\..\..
coulomb:
cd PSOPT\examples\coulomb
$(MAKE) -f Makefile.vc all
cd ..\..\..
heat:
cd PSOPT\examples\heat
$(MAKE) -f Makefile.vc all
cd ..\..\..
lambert:
cd PSOPT\examples\lambert
$(MAKE) -f Makefile.vc all
cd ..\..\..
bioreactor:
cd PSOPT\examples\bioreactor
$(MAKE) -f Makefile.vc all
cd ..\..\..
lowthr:
cd PSOPT\examples\lowthr
$(MAKE) -f Makefile.vc all
cd ..\..\..
manutec:
cd PSOPT\examples\manutec
$(MAKE) -f Makefile.vc all
cd ..\..\..
missile:
cd PSOPT\examples\missile
$(MAKE) -f Makefile.vc all
cd ..\..\..
steps:
cd PSOPT\examples\steps
$(MAKE) -f Makefile.vc all
cd ..\..\..
twoburn:
cd PSOPT\examples\twoburn
$(MAKE) -f Makefile.vc all
cd ..\..\..
zpm:
cd PSOPT\examples\zpm
$(MAKE) -f Makefile.vc all
cd ..\..\..
glider:
cd PSOPT\examples\glider
$(MAKE) -f Makefile.vc all
cd ..\..\..
notorious:
cd PSOPT\examples\notorious
$(MAKE) -f Makefile.vc all
cd ..\..\..
reorientation:
cd PSOPT\examples\reorientation
$(MAKE) -f Makefile.vc all
cd ..\..\..
mpec:
cd PSOPT\examples\mpec
$(MAKE) -f Makefile.vc all
cd ..\..\..
dae_i3:
cd PSOPT\examples\dae_i3
$(MAKE) -f Makefile.vc all
cd ..\..\..
breakwell:
cd PSOPT\examples\breakwell
$(MAKE) -f Makefile.vc all
cd ..\..\..
rayleigh:
cd PSOPT\examples\rayleigh
$(MAKE) -f Makefile.vc all
cd ..\..\..
clean:
cd CXSparse\Source
$(MAKE) -f Makefile.vc clean
cd ..\..
cd lusol\csrc
$(MAKE) -f Makefile.vc clean
cd ..
cd dmatrix\lib
$(MAKE) -f Makefile.vc clean
cd ..\..
cd PSOPT\src
del *.obj
cd ..\..
cd dmatrix\examples
$(MAKE) -f Makefile.vc clean
cd ..\..
cd PSOPT\examples\launch
del *.obj
cd ..\..\..
cd PSOPT\examples\brac1
del *.obj
cd ..\..\..
cd PSOPT\examples\shutt
del *.obj
cd ..\..\..
cd PSOPT\examples\moon
del *.obj
cd ..\..\..
cd PSOPT\examples\stc1
del *.obj
cd ..\..\..
cd PSOPT\examples\brymr
del *.obj
cd ..\..\..
cd PSOPT\examples\twolink
del *.obj
cd ..\..\..
cd PSOPT\examples\twophsc
del *.obj
cd ..\..\..
cd PSOPT\examples\twophro
del *.obj
cd ..\..\..
cd PSOPT\examples\hyper
del *.obj
cd ..\..\..
cd PSOPT\examples\mphdr
del *.obj
cd ..\..\..
cd PSOPT\examples\param
del *.obj
cd ..\..\..
cd PSOPT\examples\bryden
del *.obj
cd ..\..\..
cd PSOPT\examples\delay1
del *.obj
cd ..\..\..
cd PSOPT\examples\goddard
del *.obj
cd ..\..\..
cd PSOPT\examples\sing5
del *.obj
cd ..\..\..
cd PSOPT\examples\climb
del *.obj
cd ..\..\..
cd PSOPT\examples\cracking
del *.obj
cd ..\..\..
cd PSOPT\examples\isop
del *.obj
cd ..\..\..
cd PSOPT\examples\crane
del *.obj
cd ..\..\..
cd PSOPT\examples\ipc
del *.obj
cd ..\..\..
cd PSOPT\examples\catmix
del *.obj
cd ..\..\..
cd PSOPT\examples\chain
del *.obj
cd ..\..\..
cd PSOPT\examples\obstacle
del *.obj
cd ..\..\..
cd PSOPT\examples\alpine
del *.obj
cd ..\..\..
cd PSOPT\examples\lts
del *.obj
cd ..\..\..
cd PSOPT\examples\user
del *.obj
cd ..\..\..
cd PSOPT\examples\coulomb
del *.obj
cd ..\..\..
cd PSOPT\examples\heat
del *.obj
cd ..\..\..
cd PSOPT\examples\lambert
del *.obj
cd ..\..\..
cd PSOPT\examples\bioreactor
del *.obj
cd ..\..\..
cd PSOPT\examples\lowthr
del *.obj
cd ..\..\..
cd PSOPT\examples\manutec
del *.obj
cd ..\..\..
cd PSOPT\examples\missile
del *.obj
cd ..\..\..
cd PSOPT\examples\steps
del *.obj
cd ..\..\..
cd PSOPT\examples\twoburn
del *.obj
cd ..\..\..
cd PSOPT\examples\zpm
del *.obj
cd ..\..\..
cd PSOPT\examples\glider
del *.obj
cd ..\..\..
cd PSOPT\examples\notorious
del *.obj
cd ..\..\..
cd PSOPT\examples\reorientation
del *.obj
cd ..\..\..
cd PSOPT\examples\mpec
del *.obj
cd ..\..\..
cd PSOPT\examples\dae_i3
del *.obj
cd ..\..\..
distclean:
cd CXSparse\Source
$(MAKE) -f Makefile.vc distclean
cd ..\..
cd lusol\csrc
$(MAKE) -f Makefile.vc distclean
cd ..
cd dmatrix\lib
$(MAKE) -f Makefile.vc distclean
cd ..\..
cd PSOPT\lib
del *.lib
cd ..\..
cd dmatrix\examples
$(MAKE) -f Makefile.vc distclean
cd ..\..
cd PSOPT\examples\launch
del *.exe
cd ..\..\..
cd PSOPT\examples\brac1
del *.exe
cd ..\..\..
cd PSOPT\examples\shutt
del *.exe
cd ..\..\..
cd PSOPT\examples\moon
del *.exe
cd ..\..\..
cd PSOPT\examples\stc1
del *.exe
cd ..\..\..
cd PSOPT\examples\brymr
del *.exe
cd ..\..\..
cd PSOPT\examples\twolink
del *.exe
cd ..\..\..
cd PSOPT\examples\twophsc
del *.exe
cd ..\..\..
cd PSOPT\examples\twophro
del *.exe
cd ..\..\..
cd PSOPT\examples\hyper
del *.exe
cd ..\..\..
cd PSOPT\examples\bryden
del *.exe
cd ..\..\..
cd PSOPT\examples\delay1
del *.exe
cd ..\..\..
cd PSOPT\examples\goddard
del *.exe
cd ..\..\..
cd PSOPT\examples\sing5
del *.exe
cd ..\..\..
cd PSOPT\examples\climb
del *.exe
cd ..\..\..
cd PSOPT\examples\cracking
del *.exe
cd ..\..\..
cd PSOPT\examples\isop
del *.exe
cd ..\..\..
cd PSOPT\examples\crane
del *.exe
cd ..\..\..
cd PSOPT\examples\ipc
del *.exe
cd ..\..\..
cd PSOPT\examples\catmix
del *.exe
cd ..\..\..
cd PSOPT\examples\chain
del *.exe
cd ..\..\..
cd PSOPT\examples\obstacle
del *.exe
cd ..\..\..
cd PSOPT\examples\alpine
del *.exe
cd ..\..\..
cd PSOPT\examples\lts
del *.exe
cd ..\..\..
cd PSOPT\examples\user
del *.exe
cd ..\..\..
cd PSOPT\examples\coulomb
del *.exe
cd ..\..\..
cd PSOPT\examples\heat
del *.exe
cd ..\..\..
cd PSOPT\examples\lambert
del *.exe
cd ..\..\..
cd PSOPT\examples\bioreactor
del *.exe
cd ..\..\..
cd PSOPT\examples\lowthr
del *.exe
cd ..\..\..
cd PSOPT\examples\manutec
del *.exe
cd ..\..\..
cd PSOPT\examples\missile
del *.exe
cd ..\..\..
cd PSOPT\examples\steps
del *.exe
cd ..\..\..
cd PSOPT\examples\twoburn
del *.exe
cd ..\..\..
cd PSOPT\examples\zpm
del *.exe
cd ..\..\..
cd PSOPT\examples\glider
del *.exe
cd ..\..\..
cd PSOPT\examples\notorious
del *.exe
cd ..\..\..
cd PSOPT\examples\reorientation
del *.exe
cd ..\..\..
cd PSOPT\examples\mpec
del *.exe
cd ..\..\..
cd PSOPT\examples\dae_i3
del *.exe
cd ..\..\..