Skip to content

Commit 59cd469

Browse files
committed
fix makevars.win
1 parent f796821 commit 59cd469

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Makevars.win

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,13 @@ PKG_LIBS += \
1414

1515
all: clean winlibs
1616

17-
clean: rm -f $(OBJECTS) $(SHLIB)
17+
clean:
18+
del /Q $(OBJECTS) $(SHLIB)
19+
1820

1921
winlibs:
2022
"${R_HOME}/bin${R_ARCH_BIN}/Rscript.exe" "../tools/winlibs.R"
21-
rm -Rf ../inst/share && mkdir -p ../inst/share
23+
rmdir /S /Q ../inst/share && mkdir ../inst/share
2224

2325
.PHONY: all winlibs clean
2426

0 commit comments

Comments
 (0)