Codebase list lbreakout2 / run/57aff1df-b054-4ea1-8bd5-5bfe5937e47b/main win32_mancomp
run/57aff1df-b054-4ea1-8bd5-5bfe5937e47b/main

Tree @run/57aff1df-b054-4ea1-8bd5-5bfe5937e47b/main (Download .tar.gz)

win32_mancomp @run/57aff1df-b054-4ea1-8bd5-5bfe5937e47b/mainraw · history · blame

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