compile.sh 336 Bytes
Newer Older
saeed's avatar
saeed committed
1
2
#!/bin/bash
issh=1
saeed's avatar
saeed committed
3
4
5
iobs=0
isvg=0

saeed's avatar
saeed committed
6
7
8
9
10
11
12


if [ $issh -eq 1 ];then
    gcc -o sshval -O2 -std=c99 -pedantic -Wall sshval.c -lm
fi

if [ $iobs -eq 1 ];then
saeed's avatar
saeed committed
13
    gcc -o getobs -O2 -march=native -std=c99 -Wall -D_GNU_SOURCE -Dsort=1 getobs.c
saeed's avatar
saeed committed
14
15
16
17
18
19
20
fi

if [ $isvg -eq 1 ];then
    gcc -o plottid -O2 -march=native -std=c99 -Wall svgtimeseries.c -lm
fi