File: build

package info (click to toggle)
bobcat 2.08.01-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 5,668 kB
  • ctags: 953
  • sloc: cpp: 10,403; makefile: 9,042; perl: 401; sh: 195
file content (22 lines) | stat: -rwxr-xr-x 499 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

ln -sf ../process .
ln -sf ../process.ih .

case $1 in
    (o)
        g++ -o driver *.cc ../tmp/o/*.o -lbobcat -s
    ;;
    (c)
        g++ -o driver *.cc -lbobcat -s
    ;;
    (b)
        rm process process.ih
        g++ --std=c++0x -I../../tmp -o driver driver.cc -lbobcat -L../../tmp/lib -s
    ;;
    (*)
    echo $0 b links to bobcat built by 'build libraries all'
    echo $0 o links to the files in ../tmp/o
    echo $0 c links to the files in the current dir only
    ;;
esac