Pilot nptl_db application.
[debugger.git] / Makefile
index 6bd6dfa..0b76bd4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,9 @@ debugger: debugger.c debugger.h
 testsuite: testsuite.c debugger.c debugger.h
        $(CC) -o $@ $< -pthread
 
+threadtest: threadtest.c
+       $(CC) -o $@ $< -lthread_db -ldw
+
 .PHONY: check
 check: testsuite
        ./testsuite
@@ -15,7 +18,9 @@ check: testsuite
 
 .PHONY: still
 still:
-       ls -l core* 2>/dev/null; set -ex; ulimit -c unlimited; time ./testsuite -l
+       ls -l core* 2>/dev/null || true
+       date --iso=seconds
+       set -ex; ulimit -c unlimited; time ./testsuite -l
 
 
 .PHONY: clean