Hack some races.
[debugger.git] / Makefile
1 CC=gcc -ggdb3 -Wall -Werror
2
3 all: debugger check
4
5 debugger: debugger.c debugger.h
6         $(CC) -o $@ $<
7
8 testsuite: testsuite.c debugger.c debugger.h
9         $(CC) -o $@ $< -pthread
10
11 .PHONY: check
12 check: testsuite
13         ./testsuite
14         @echo OK
15
16 .PHONY: still
17 still:
18         ls -l core* 2>/dev/null; set -ex; ulimit -c unlimited; time ./testsuite -l
19
20
21 .PHONY: clean
22 clean:
23         $(RM) debugger testsuite
24