]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - cockpit/_checkmake.bat
Have the Windows batch files check for make
[proxmark3-svn] / cockpit / _checkmake.bat
diff --git a/cockpit/_checkmake.bat b/cockpit/_checkmake.bat
new file mode 100644 (file)
index 0000000..fabb72e
--- /dev/null
@@ -0,0 +1,14 @@
+@echo off\r
+make -C .. -s _test\r
+IF ERRORLEVEL 1 GOTO fail\r
+SET MAKE_FAILED=0\r
+GOTO end\r
+:fail\r
+echo ************************************************\r
+echo * A compatible (GNU) make was not detected     *\r
+echo * Please get an updated version of the Windows *\r
+echo * compile environment, or install GNU make     *\r
+echo * manually                                     *\r
+echo ************************************************\r
+SET MAKE_FAILED=1\r
+:end\r
Impressum, Datenschutz