summaryrefslogtreecommitdiff
path: root/ecp/build.sh
blob: 7669db1c3d7e136cafec9a316909691f41a50a3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh

if [ -z $1 ]; then
    ARG="all"
else
    ARG=$1
fi

cd src
make clean
if [ $ARG == "all" ]; then
    make || exit
    make install
fi
cd ../util
make clean
if [ $ARG == "all" ]; then
    make || exit
fi
cd ../test
make clean
if [ $ARG == "all" ]; then
    make
fi