# Compile and link a Linux program
# with the C library.
# Jan/99, Rick Smereka
#
# Removed the 'sys_log', 'ipcomm'
# and 'ipconfig' object files.
# Added environment vars.
# Apr/2000, Rick Smereka
#
# Added files 'fxp.o'
# and 'conv.o'.
# Apr/2002, Rick Smereka
#
# Added file 'datime.o'
# May/2002, Rick Smereka
#
. include.generic
. include.linux
#
cd $DIRBASE/source
$COMP $DEFS="$PLAT" \
    -I$DIRBASE/include -o$DIRBASE/bin/$1 $1.c \
    $DIRBASE/clib/fio.o $DIRBASE/clib/parse.o $DIRBASE/clib/logger.o \
    $DIRBASE/clib/fxp.o $DIRBASE/clib/conv.o $DIRBASE/clib/datime.o \
    $DIRBASE/clib/logman.c $DIRBASE/clib/misc.o
