-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompile
executable file
·32 lines (28 loc) · 901 Bytes
/
compile
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
#!/bin/sh
#!/bin/sh
echo "------------------------------------------------------------------------"
echo 'Compiling LVT version 1.0...'
echo "------------------------------------------------------------------------"
echo 'Building dependency generator...'
cd ./make/MAKDEP || exit 1
gmake
if [ $? -eq 0 ]; then
echo "------------------------------------------------------------------------"
echo 'Compiling LVT source code...'
cd .. || exit 1
gmake
if [ $? -eq 0 ]; then
cp LVT .. || exit 1
echo "Compile finished "
echo "------------------------------------------------------------------------"
else
echo "Compile failed "
echo "------------------------------------------------------------------------"
exit 1
fi
else
echo "Dependecy generation failed"
echo "------------------------------------------------------------------------"
exit 1
fi
exit 0