#!/bin/sh CC=gcc rm -f *.o zabit makeargs echo Compiling makeargs... gcc -o makeargs makeargs.c echo Generating systemlocale.h ./makeargs syslocale `head -1 conf-locale` > systemlocale.h echo Compiling zabit... $CC -pedantic -o zabit zabit.c config.c scan.c systemlocale.c log.c attach.c $1 $2 $3 $4 $5 strip -s zabit if [ $? -eq 0 ]; then echo Compile done. else echo Strip error. fi