summaryrefslogtreecommitdiff
path: root/B/win32/cygwin.bat
blob: 285c1d9d3c7a4f3b79fd23f0f3519d74af12ae9d (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 //   cygwin + gcc
@echo //
@call b\prepare.bat
@if "%BECHO%"=="n" echo off


gcc -x c -O2 -Wall %CFI% -s -o %BEXE% src/*.[cC] -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