Quote commands that we run, so they work if there are space in their paths
[ghc-hetmet.git] / includes / ghc.mk
index dd90fa2..66a379a 100644 (file)
@@ -73,7 +73,7 @@ $(includes_H_CONFIG) : mk/config.h mk/config.mk includes/ghc.mk
 endif
 
 $(includes_H_PLATFORM) : includes/Makefile
-       $(RM) $@
+       "$(RM)" $(RM_OPTS) $@
        @echo "Creating $@..."
        @echo "#ifndef __GHCPLATFORM_H__"  >$@
        @echo "#define __GHCPLATFORM_H__" >>$@