File: win32_mancomp

package info (click to toggle)
lbreakout2 2.5.2-2.1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 6,040 kB
  • ctags: 2,374
  • sloc: ansic: 20,911; sh: 2,891; makefile: 374
file content (16 lines) | stat: -rwxr-xr-x 436 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
dirs="gui
common
game
server
client"
if [ ! -z "$1" ]; then
    dirs=$1
fi
for dir in $dirs; do
    cd $dir 
    for file in *.c; do
        echo "making $dir/$file"
        gcc -DNETWORK_ENABLED -DSDL_NET_ENABLED -march=i386  -DAUDIO_ENABLED -DSRC_DIR=\".\" -DHI_DIR=\".\" -DHAVE_CONFIG_H -I. -I. -I..     -I/usr/local/include -Wall -I/usr/local/include/SDL -Dmain=SDL_main -c `test -f $file || echo './'`$file
    done
    cd ..
done