mirror of
git://git.psyc.eu/libpsyc
synced 2024-08-15 03:19:02 +00:00
parser fixes & refactoring; added more tests
This commit is contained in:
parent
344f327e19
commit
a0ab246127
21 changed files with 479 additions and 406 deletions
|
@ -1,16 +1,12 @@
|
|||
CFLAGS=-I../../include -DDEBUG -g -O0
|
||||
CFLAGS=-I../../include -DDEBUG -g -O0 -Wall
|
||||
LDFLAGS=-L..
|
||||
LOADLIBES=-lpsyc
|
||||
TARGETS=testParser testMatch
|
||||
|
||||
all: $(TARGETS)
|
||||
|
||||
# special case because not in the same directory
|
||||
testParser:
|
||||
${CC} ${CFLAGS} ${LDFLAGS} parser/testParser.c ${LOADLIBES} -o testParser
|
||||
|
||||
test:
|
||||
for f in parser/*txt; do echo -e "\n>> $$f"; ./testParser $$f; done
|
||||
for f in packets/*; do echo -e "\n>> $$f"; ./testParser $$f; done
|
||||
|
||||
clean:
|
||||
rm $(TARGETS)
|
||||
rm -f $(TARGETS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue