diff new.bash @ 74:b7449114ebb0

start coding on new config syntax
author carl
date Sun, 10 Jul 2005 14:19:00 -0700
parents 2b369f7db7bf
children
line wrap: on
line diff
--- a/new.bash	Sun Jul 10 13:28:33 2005 -0700
+++ b/new.bash	Sun Jul 10 14:19:00 2005 -0700
@@ -4,12 +4,12 @@
 ## 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
+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 -pthread
+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