@@ -4,6 +4,9 @@ OUTPUT=haxe.exe
OCAMLOPT=ocamlopt.opt
+kill:
+ -@taskkill /F /IM haxe.exe 2>/dev/null
+
# allow Ocaml/Mingw as well
NATIVE_LIBS += -I "c:/program files/mingw/lib/"
@@ -17,8 +17,8 @@
ConfigurationType="0">
<Tool
Name="VCNMakeTool"
- BuildCommandLine="make MSVC=1 -j4 -f Makefile.win haxe"
- ReBuildCommandLine="make MSVC=1 -f Makefile.win clean_haxe haxe"
+ BuildCommandLine="make MSVC=1 -j4 -f Makefile.win kill haxe"
+ ReBuildCommandLine="make MSVC=1 -f Makefile.win clean_haxe kill haxe"
CleanCommandLine="make -f Makefile.win clean_haxe"
Output="haxe.exe"/>
</Configuration>