This repository has been archived by the owner on Oct 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 35
/
Makefile
73 lines (68 loc) · 2.39 KB
/
Makefile
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
all:
(cd fmu10; $(MAKE))
(cd fmu20; $(MAKE))
clean:
(cd fmu10; $(MAKE) clean)
(cd fmu20; $(MAKE) clean)
distclean: clean
rm -f fmu10/bin/fmusim_cs* fmu10/bin/fmusim_me*
rm -f fmu20/bin/fmusim_cs* fmu20/bin/fmusim_me*
rm -rf fmu10/fmu
rm -rf fmu20/fmu
rm -rf fmuTmp*
rm -f *.csv
find . -name "*~" -exec rm {} \;
find . -name "#*~" -exec rm {} \;
run_all: run_all_fmu10 run_all_fmu20
# Run all the fmu10 fmus. Args are from run_all.bat
run_all_fmu10:
fmu10/bin/fmusim_me fmu10/fmu/me/bouncingBall.fmu 4 0.01 0 c
mv result.csv result_me10_bouncingBall.csv
fmu10/bin/fmusim_cs fmu10/fmu/cs/bouncingBall.fmu 4 0.01 0 c
mv result.csv result_cs10_bouncingBall.csv
#
fmu10/bin/fmusim_me fmu10/fmu/me/vanDerPol.fmu 5 0.1 0 c
mv result.csv result_me10_vanDerPol.csv
fmu10/bin/fmusim_cs fmu10/fmu/cs/vanDerPol.fmu 5 0.1 0 c
mv result.csv result_cs10_vanDerPol.csv
#
fmu10/bin/fmusim_me fmu10/fmu/me/dq.fmu 1 0.1 0 c
mv result.csv result_me10_dq.csv
fmu10/bin/fmusim_cs fmu10/fmu/cs/dq.fmu 1 0.1 0 c
mv result.csv result_cs10_dq.csv
#
fmu10/bin/fmusim_me fmu10/fmu/me/inc.fmu 15 0.1 0 c
mv result.csv result_me10_inc.csv
fmu10/bin/fmusim_cs fmu10/fmu/cs/inc.fmu 15 0.1 0 c
mv result.csv result_cs10_inc.csv
#
fmu10/bin/fmusim_me fmu10/fmu/me/values.fmu 12 0.1 0 c
mv result.csv result_me10_values.csv
fmu10/bin/fmusim_cs fmu10/fmu/cs/values.fmu 12 0.1 0 c
mv result.csv result_cs10_values.csv
# Run all the fmu20 fmus. Args are from run_all.bat
run_all_fmu20:
fmu20/bin/fmusim_me fmu20/fmu/me/bouncingBall.fmu 4 0.01 0 c
mv result.csv result_me20_bouncingBall.csv
fmu20/bin/fmusim_cs fmu20/fmu/cs/bouncingBall.fmu 4 0.01 0 c
mv result.csv result_cs20_bouncingBall.csv
#
fmu20/bin/fmusim_me fmu20/fmu/me/vanDerPol.fmu 5 0.1 0 c
mv result.csv result_me20_vanDerPol.csv
fmu20/bin/fmusim_cs fmu20/fmu/cs/vanDerPol.fmu 5 0.1 0 c
mv result.csv result_cs20_vanDerPol.csv
#
fmu20/bin/fmusim_me fmu20/fmu/me/dq.fmu 1 0.1 0 c
mv result.csv result_me20_dq.csv
fmu20/bin/fmusim_cs fmu20/fmu/cs/dq.fmu 1 0.1 0 c
mv result.csv result_cs20_dq.csv
#
fmu20/bin/fmusim_me fmu20/fmu/me/inc.fmu 15 0.1 0 c
mv result.csv result_me20_inc.csv
fmu20/bin/fmusim_cs fmu20/fmu/cs/inc.fmu 15 0.1 0 c
mv result.csv result_cs20_inc.csv
#
fmu20/bin/fmusim_me fmu20/fmu/me/values.fmu 12 0.1 0 c
mv result.csv result_me20_values.csv
fmu20/bin/fmusim_cs fmu20/fmu/cs/values.fmu 12 0.1 0 c
mv result.csv result_cs20_values.csv