1 CC=gcc -ggdb3 -Wall -Werror
2 ELFUTILS=../elfutils-0.127
4 CC+=-I$(ELFUTILS)/include -L$(ELFUTILS)/lib
9 debugger: debugger.c debugger.h
12 testsuite: testsuite.c debugger.c debugger.h
13 $(CC) -o $@ $< -pthread
15 threadtest: threadtest.c
16 $(CC) -o $@ $< -lthread_db -ldw -lelf -lebl -ldl
25 ls -l core* 2>/dev/null || true
27 set -ex; ulimit -c unlimited; time ./testsuite -l
32 $(RM) debugger testsuite