Mercurial > projects > dstress
changeset 1411:44b8263c91ea
remove obsolete files in obj/*
author | thomask |
---|---|
date | Fri, 09 Mar 2007 22:13:20 +0000 |
parents | be2b20dc0eb4 |
children | 6b1dfd2d1691 |
files | Makefile.parallel |
diffstat | 1 files changed, 7 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile.parallel Thu Mar 08 16:36:19 2007 +0000 +++ b/Makefile.parallel Fri Mar 09 22:13:20 2007 +0000 @@ -3,7 +3,7 @@ # $Author$ # # experimental parallel GnuMakefile for DStress http://dstress.kuehne.cn/www/dstress.html -# Copyright (C) 2006 Thomas Kuehne +# Copyright (C) 2006, 2007 Thomas Kuehne # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -45,7 +45,7 @@ endif ifndef RM -RM := rm -f -- +RM := rm -rf -- endif find := find @@ -91,6 +91,7 @@ compile/%.exe : compile/% tools @$(dstress) $(torture)compile $< > obj/$(notdir $<)$(logsuffix) @$(CAT) obj/$(notdir $<)$(logsuffix) + @$(RM) obj/$(basename $(notdir $<))* # # nocompile @@ -100,6 +101,7 @@ nocompile/%.exe : nocompile/% tools @$(dstress) $(torture)nocompile $< > obj/$(notdir $<)$(logsuffix) @$(CAT) obj/$(notdir $<)$(logsuffix) + @$(RM) obj/$(basename $(notdir $<))* # # norun @@ -109,6 +111,7 @@ norun/%.exe : norun/% tools @$(dstress) $(torture)norun $< > obj/$(notdir $<)$(logsuffix) @$(CAT) obj/$(notdir $<)$(logsuffix) + @$(RM) obj/$(basename $(notdir $<))* # # run @@ -118,6 +121,7 @@ run/%.exe : run/% tools @$(dstress) $(torture)run $< > obj/$(notdir $<)$(logsuffix) @$(CAT) obj/$(notdir $<)$(logsuffix) + @$(RM) obj/$(basename $(notdir $<))* # # clean @@ -138,7 +142,7 @@ $(RM) obj/[k-o]*.* $(RM) obj/[p-t]*.* $(RM) obj/[u-z]*.* - $(RM) -rf obj/* + $(RM) obj/* $(RM) run.sh norun.sh compile.sh nocompile.sh $(RM) $(dstress) $(crashRun)