summaryrefslogtreecommitdiff
path: root/B/win32/pw32.bat
blob: 1bab7c12847a8913e411520c074c76fd20dccda8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
@echo // Copyright (C) 1996-2017 Markus F.X.J. Oberhumer
@echo //
@echo //   Windows 32-bit
@echo //   PW32 + gcc
@echo //
@call b\prepare.bat
@if "%BECHO%"=="n" echo off


gcc -x c -O2 -Wall %CFI% -s -o %BEXE% src/*.c -L. -llzo2 -Wl,-Map,%BNAME%.map
@if errorlevel 1 goto error


@call b\done.bat
@goto end
:error
@echo ERROR during build!
:end
@call b\unset.bat