1 CFLAGS=-I../../include -O0 -g
4 SOURCES=main.c ../timer.c ../user.c ../kevent.c ../read.c ../vnode.c ../test.c
9 $(CC) -o $(PROGRAM) $(CFLAGS) $(SOURCES) ../../libkqueue.a $(LDADD)
12 @echo "ERROR: The stresstest is currently not usable" ; false
13 rm -f core 2>/dev/null
14 ulimit -c 999999 ; ./$(PROGRAM) || true
15 if [ -f core ] ; then gdb ./$(PROGRAM) core ; fi
18 valgrind --tool=memcheck --leak-check=full --show-reachable=yes \
19 --num-callers=20 --track-fds=yes ./$(PROGRAM)
22 rm -f $(PROGRAM) core tags *.o