view new.bash @ 73:2b369f7db7bf

start coding on new config syntax
author carl
date Sun, 10 Jul 2005 13:28:33 -0700
parents dd21c8e13074
children b7449114ebb0
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 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 -pthread
if [ $? -ne 0 ]; then
    echo "linker errors"
    exit
fi