Allow 0 threads found - during early threads initialization.
[debugger.git] / Makefile
index 8065c65..ff5ac8f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -15,6 +15,8 @@ testsuite: testsuite.c debugger.c debugger.h
 
 threadtest: threadtest.c
        $(CC) -o $@ $< $(LIBS)
+       ./$@ single
+       ./$@ multi 
 
 .PHONY: check
 check: testsuite
@@ -22,7 +24,7 @@ check: testsuite
        @echo OK
 
 .PHONY: still
-still:
+still: testsuite
        ls -l core* 2>/dev/null || true
        date --iso=seconds
        set -ex; ulimit -c unlimited; time ./testsuite -l
@@ -30,5 +32,5 @@ still:
 
 .PHONY: clean
 clean:
-       $(RM) debugger testsuite
+       $(RM) debugger testsuite threadtest