diff options
author | Simon Marlow <simonmar@microsoft.com> | 2007-11-16 13:19:14 +0000 |
---|---|---|
committer | Simon Marlow <simonmar@microsoft.com> | 2007-11-16 13:19:14 +0000 |
commit | 5a3ba0ccc285295b4f07e2d22d799bbd554e206e (patch) | |
tree | c4d06ee5c0ea93b042feeb65f318c12f0fd9fa20 /testsuite/timeout | |
parent | 8750fd9d380f8c6cb1cf47abcfdc24dec4c8a7ad (diff) | |
download | haskell-5a3ba0ccc285295b4f07e2d22d799bbd554e206e.tar.gz |
small tidyups to thie Makefile
Diffstat (limited to 'testsuite/timeout')
-rw-r--r-- | testsuite/timeout/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/testsuite/timeout/Makefile b/testsuite/timeout/Makefile index d93c6a47fb..923371209b 100644 --- a/testsuite/timeout/Makefile +++ b/testsuite/timeout/Makefile @@ -10,20 +10,23 @@ ifeq "$(Windows)" "NO" SRC_HC_OPTS += -package unix endif -HS_PROG = timeout - -boot :: calibrate.out +all :: calibrate.out ifeq "$(findstring thr,$(GhcRTSWays))" "thr" -boot :: $(HS_PROG) +HS_PROG = timeout else -boot :: python-timeout +all :: python-timeout +CLEAN_FILES += timeout endif +boot :: all + calibrate.out: rm -f TimeMe.o TimeMe.hi TimeMe $(PYTHON) calibrate "$(HC)" > $@ +CLEAN_FILES += calibrate.out + python-timeout: cp timeout.py timeout chmod +x timeout |