"Fossies" - the Fresh Open Source Software Archive

Member "key-scripter-2.1/windows-build.bat" (11 May 2020, 1073 Bytes) of package /linux/privat/key-scripter-2.1.tar.xz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) MS DOS Batch source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "windows-build.bat": 2.0_vs_2.1.

    1 @echo off
    3 echo.
    4 echo  --- Starting Key Scripter build ---
    5 echo.
    7 del key-scripter.exe key-scripter.dll libhook.a main.o reader.o scripter.o generator.o helper.o hook.o
    9 gcc -v -O3 -D_WINDOWS -D_UNICODE -DUNICODE -c hook.c
   10 IF %ERRORLEVEL% NEQ 0 goto failure
   11 gcc -v -s -shared -o key-scripter.dll -Wl,--out-implib,libhook.a hook.o
   12 IF %ERRORLEVEL% NEQ 0 goto failure
   13 gcc -v -O3 -D_WINDOWS -D_UNICODE -DUNICODE -c main.c reader.c scripter.c generator.c helper.c
   14 IF %ERRORLEVEL% NEQ 0 goto failure
   15 gcc -v -s -o key-scripter.exe main.o reader.o scripter.o generator.o helper.o
   16 IF %ERRORLEVEL% NEQ 0 goto failure
   18 :success
   19 echo.
   20 echo  Files created: key-scripter.exe, key-scripter.dll
   21 echo.
   22 echo  --- Build finished successfully ---
   23 echo.
   24 goto end
   26 :failure
   27 echo.
   28 echo  --- BUILD FAILED ---
   29 echo.
   30 echo  Note: Make sure you have installed the latest release of MinGW (see
   31 echo        http://www.mingw.org/). Don't forget to append the path to the MinGW
   32 echo        'bin' directory (ie c:\MinGW\bin) to the PATH environment variable.
   33 echo.
   35 :end