+LOOPS_MIN
[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 || true
19         date --iso=seconds
20         set -ex; ulimit -c unlimited; time ./testsuite -l
21
22
23 .PHONY: clean
24 clean:
25         $(RM) debugger testsuite
26