view new.bash @ 85:7e4a90e5f213 initial-5-0 **INVALID**

start coding on new config syntax
author carl
date Sun, 17 Jul 2005 08:56:33 -0700
parents b7449114ebb0
children
line wrap: on
line source

#!/bin/bash

############################
## compile and run the new parser program
##
rm -f dnsbl.o scanner.o context.o tokenizer.o
g++ -c -pthread dnsbl.cpp scanner.cpp context.cpp tokenizer.cpp
if [ $? -ne 0 ]; then
    echo "compiler errors"
    exit
fi
g++ -o dnsbl dnsbl.o scanner.o context.o tokenizer.o /usr/lib/libresolv.a -lmilter -pthread
if [ $? -ne 0 ]; then
    echo "linker errors"
    exit
fi