Skip to content

Commit e1151e4

Browse files
committed
Use rm -rf to remove build dir, so it doesn't error out if dir doesn't exist.
1 parent 8cc96a3 commit e1151e4

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

stm/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,6 @@ $(BUILD)/compile.o: $(PYSRC)/grammar.h
193193
$(BUILD)/emitbc.o: $(PYSRC)/emit.h
194194

195195
clean:
196-
/bin/rm -r $(BUILD)
196+
/bin/rm -rf $(BUILD)
197197

198198
.PHONY: all clean

unix-cpy/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,6 @@ $(BUILD)/emitcpy.o: $(PYSRC)/emit.h
8686
$(BUILD)/emitbc.o: $(PYSRC)/emit.h
8787

8888
clean:
89-
/bin/rm -r $(BUILD)
89+
/bin/rm -rf $(BUILD)
9090

9191
.PHONY: clean

unix/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,6 @@ $(BUILD)/emitcpy.o: $(PYSRC)/emit.h
9595
$(BUILD)/emitbc.o: $(PYSRC)/emit.h
9696

9797
clean:
98-
/bin/rm -r $(BUILD)
98+
/bin/rm -rf $(BUILD)
9999

100100
.PHONY: clean

0 commit comments

Comments
 (0)