Browse Source

added kill (kill runnning haxe compilation server)

Nicolas Cannasse 13 years ago
parent
commit
ab4830e15a
2 changed files with 5 additions and 2 deletions
  1. 3 0
      Makefile.win
  2. 2 2
      haxe.vcproj

+ 3 - 0
Makefile.win

@@ -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/"
 

+ 2 - 2
haxe.vcproj

@@ -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>