1
0
Fork 0
mirror of git://git.psyc.eu/libpsyc synced 2024-08-15 03:19:02 +00:00
libpsyc/src/tests/Makefile

17 lines
350 B
Makefile
Raw Normal View History

2011-04-17 19:46:00 +00:00
CFLAGS=-I../../include -DDEBUG -g -O0
LDFLAGS=-L..
LOADLIBES=-lpsyc
TARGETS=testParser testMatch
2011-02-18 13:03:45 +00:00
2011-04-17 19:46:00 +00:00
all: $(TARGETS)
2011-02-18 13:03:45 +00:00
2011-04-17 19:46:00 +00:00
# special case because not in the same directory
testParser:
${CC} ${CFLAGS} ${LDFLAGS} parser/testParser.c ${LOADLIBES} -o testParser
2011-02-18 13:03:45 +00:00
2011-04-17 12:17:11 +00:00
test:
for f in parser/*txt; do echo -e "\n>> $$f"; ./testParser $$f; done
2011-04-17 19:46:00 +00:00
clean:
rm $(TARGETS)