Browse Source

Fix Windows make clean.

Mike Pall 5 years ago
parent
commit
db0b7ec194
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Makefile

+ 1 - 1
src/Makefile

@@ -296,7 +296,6 @@ ifeq (Windows,$(TARGET_SYS))
   TARGET_STRIP+= --strip-unneeded
   TARGET_STRIP+= --strip-unneeded
   TARGET_XSHLDFLAGS= -shared -Wl,--out-implib,$(TARGET_DLLDOTANAME)
   TARGET_XSHLDFLAGS= -shared -Wl,--out-implib,$(TARGET_DLLDOTANAME)
   TARGET_DYNXLDOPTS=
   TARGET_DYNXLDOPTS=
-  HOST_RM= del
 else
 else
   TARGET_AR+= 2>/dev/null
   TARGET_AR+= 2>/dev/null
 ifeq (,$(shell $(TARGET_CC) -o /dev/null -c -x c /dev/null -fno-stack-protector 2>/dev/null || echo 1))
 ifeq (,$(shell $(TARGET_CC) -o /dev/null -c -x c /dev/null -fno-stack-protector 2>/dev/null || echo 1))
@@ -540,6 +539,7 @@ ifeq (Windows,$(HOST_SYS))
     MINILUA_X= host\minilua
     MINILUA_X= host\minilua
     BUILDVM_X= host\buildvm
     BUILDVM_X= host\buildvm
     ALL_RM:= $(subst /,\,$(ALL_RM))
     ALL_RM:= $(subst /,\,$(ALL_RM))
+    HOST_RM= del
   endif
   endif
 endif
 endif