From e1151e463deb240dfb12c6be52610b99f1cd7a79 Mon Sep 17 00:00:00 2001 From: Paul Sokolovsky Date: Mon, 30 Dec 2013 21:02:10 +0200 Subject: [PATCH] Use rm -rf to remove build dir, so it doesn't error out if dir doesn't exist. --- stm/Makefile | 2 +- unix-cpy/Makefile | 2 +- unix/Makefile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/stm/Makefile b/stm/Makefile index c66a2f6ce6..33d738d78f 100644 --- a/stm/Makefile +++ b/stm/Makefile @@ -193,6 +193,6 @@ $(BUILD)/compile.o: $(PYSRC)/grammar.h $(BUILD)/emitbc.o: $(PYSRC)/emit.h clean: - /bin/rm -r $(BUILD) + /bin/rm -rf $(BUILD) .PHONY: all clean diff --git a/unix-cpy/Makefile b/unix-cpy/Makefile index a77a6308b1..ef1999a1b0 100644 --- a/unix-cpy/Makefile +++ b/unix-cpy/Makefile @@ -86,6 +86,6 @@ $(BUILD)/emitcpy.o: $(PYSRC)/emit.h $(BUILD)/emitbc.o: $(PYSRC)/emit.h clean: - /bin/rm -r $(BUILD) + /bin/rm -rf $(BUILD) .PHONY: clean diff --git a/unix/Makefile b/unix/Makefile index f6b91889bb..0ddf11539a 100644 --- a/unix/Makefile +++ b/unix/Makefile @@ -95,6 +95,6 @@ $(BUILD)/emitcpy.o: $(PYSRC)/emit.h $(BUILD)/emitbc.o: $(PYSRC)/emit.h clean: - /bin/rm -r $(BUILD) + /bin/rm -rf $(BUILD) .PHONY: clean