diff --git a/windows/scripts/compile.sh b/windows/scripts/compile.sh
index eca41b81da145225df41deb03d9560f0b0076d02..2c201cf8915342c0f87a3bf7e89927f22bc4c31f 100755
--- a/windows/scripts/compile.sh
+++ b/windows/scripts/compile.sh
@@ -25,5 +25,5 @@ done
 
 mkdir build && cd build && \
 x86_64-w64-mingw32.static-cmake .. && make -j$(nproc) && \
-mv cellframe-node*.exe $DESTDIR  && make distclean && cd .. && rm build || echo "error $?" && exit $?
+mv cellframe-node*.exe $DESTDIR  && make clean && cd .. && rm build || echo "error $?" && exit $?