# /bin/csh
# -I include paths separated by \
# -g source files separated by space
# -L library paths separated by \
# -l libraries
# -o output file
setenv INCLUDE $cwd/../include
setenv DEST    $cwd/../bin
#
setenv file_prefix "$1"
#
$CC -I/$INCLUDE/ -O \
    -g3 $file_prefix.c $INCLUDE/SaxsError.c $INCLUDE/SaxsInput.c \
        $INCLUDE/SaxsExpression.c $INCLUDE/gamma.c \
    -L$INCLUDE \
    -lm\
    -o $DEST/$file_prefix | more

