1 CC=gcc -ggdb3 -Wall -Werror
2 ELFUTILS=../elfutils-0.127
4 CC+=-I$(ELFUTILS)/include -L$(ELFUTILS)/lib
6 LIBS=-lthread_db -ldw -lelf -lebl -ldl
10 debugger: debugger.c debugger.h
11 $(CC) -o $@ $< $(LIBS)
13 testsuite: testsuite.c debugger.c debugger.h
14 $(CC) -o $@ $< $(LIBS)
16 threadtest: threadtest.c
17 $(CC) -o $@ $< $(LIBS)
26 ls -l core* 2>/dev/null || true
28 set -ex; ulimit -c unlimited; time ./testsuite -l
33 $(RM) debugger testsuite