Pilot nptl_db application.
[debugger.git] / Makefile
index 8929e34..0b76bd4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,10 +3,13 @@ CC=gcc -ggdb3 -Wall -Werror
 all: debugger check
 
 debugger: debugger.c debugger.h
-       $(CC) -o $@ $< -lthread_db -pthread -ldw
+       $(CC) -o $@ $<
 
 testsuite: testsuite.c debugger.c debugger.h
-       $(CC) -o $@ $< -lthread_db -pthread -ldw
+       $(CC) -o $@ $< -pthread
+
+threadtest: threadtest.c
+       $(CC) -o $@ $< -lthread_db -ldw
 
 .PHONY: check
 check: testsuite
@@ -15,7 +18,10 @@ check: testsuite
 
 .PHONY: still
 still:
-       FIXME ./testsuite && false
+       ls -l core* 2>/dev/null || true
+       date --iso=seconds
+       set -ex; ulimit -c unlimited; time ./testsuite -l
+
 
 .PHONY: clean
 clean: