comparison new.bash @ 71:dd21c8e13074

start coding on new config syntax
author carl
date Sat, 09 Jul 2005 19:24:41 -0700
parents
children 2b369f7db7bf
comparison
equal deleted inserted replaced
70:c812a06f87bf 71:dd21c8e13074
1 #!/bin/bash
2
3 ############################
4 ## compile and run the new parser program
5 ##
6 rm -f new.o context.o tokenizer.o
7 g++ -c new.cpp context.cpp tokenizer.cpp
8 if [ $? -ne 0 ]; then
9 echo "compiler errors"
10 exit
11 fi
12 g++ -o new new.o context.o tokenizer.o -pthread
13 if [ $? -ne 0 ]; then
14 echo "linker errors"
15 exit
16 fi