forked from pycom/pycom-libraries
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
102 lines (89 loc) · 2.13 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
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
release: pyscan pysense pysense2 pytrack pytrack2
pyscan:
rm -rf pyscan
rm -f pyscan.zip
@echo "Making Pyscan"
mkdir pyscan
mkdir pyscan/lib
#sensors
cp shields/lib/LIS2HH12.py pyscan/lib/
cp shields/lib/MFRC630.py pyscan/lib/
cp shields/lib/SI7006A20.py pyscan/lib/
cp shields/lib/LTR329ALS01.py pyscan/lib/
#pycoproc
cp shields/lib/pycoproc_1.py pyscan/lib/
#example
cp shields/pyscan_1.py pyscan/main.py
zip -r pyscan.zip pyscan
pysense:
rm -rf pysense
rm -f pysense.zip
@echo "Making Pysense"
mkdir pysense
mkdir pysense/lib
# sensors
cp shields/lib/LIS2HH12.py pysense/lib/
cp shields/lib/LTR329ALS01.py pysense/lib/
cp shields/lib/MPL3115A2.py pysense/lib/
cp shields/lib/SI7006A20.py pysense/lib/
# pycoproc
cp shields/lib/pycoproc_1.py pysense/lib/
# example
cp shields/pysense_1.py pysense/main.py
zip -r pysense.zip pysense
pysense2:
rm -rf pysense2
rm -f pysense2.zip
@echo "Making Pysense 2"
mkdir pysense2
mkdir pysense2/lib
# sensors
cp shields/lib/LIS2HH12.py pysense2/lib/
cp shields/lib/LTR329ALS01.py pysense2/lib/
cp shields/lib/MPL3115A2.py pysense2/lib/
cp shields/lib/SI7006A20.py pysense2/lib/
# pycoproc
cp shields/lib/pycoproc_2.py pysense2/lib/
# example
cp shields/pysense_2.py pysense2/main.py
zip -r pysense2.zip pysense2
pytrack:
rm -rf pytrack
rm -f pytrack.zip
@echo "Making Pytrack"
mkdir pytrack
mkdir pytrack/lib
#sensors
cp shields/lib/L76GNSS.py pytrack/lib/
cp shields/lib/LIS2HH12.py pytrack/lib/
#pycoproc
cp shields/lib/pycoproc_1.py pytrack/lib/
#example
cp shields/pytrack_1.py pytrack/main.py
zip -r pytrack.zip pytrack
pytrack2:
rm -rf pytrack2
rm -f pytrack2.zip
@echo "Making Pytrack2"
mkdir pytrack2
mkdir pytrack2/lib
#sensors
cp shields/lib/L76GNSS.py pytrack2/lib/
cp shields/lib/LIS2HH12.py pytrack2/lib/
#pycoproc
cp shields/lib/pycoproc_2.py pytrack2/lib/
#example
cp shields/pytrack_2.py pytrack2/main.py
zip -r pytrack2.zip pytrack2
clean:
@echo "Cleaning up files"
rm -rf pyscan
rm -rf pysense
rm -rf pysense2
rm -rf pytrack
rm -rf pytrack2
rm -f pyscan.zip
rm -f pysense.zip
rm -f pysense2.zip
rm -f pytrack.zip
rm -f pytrack2.zip