⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cygwin.bat

📁 lzo-1.08-src.zip 高效的压缩解压代码
💻 BAT
字号:
rem /* Windows 32 bit (LIB) - Cygnus GNU-Win32 Development Kit
rem  * a very simple make driver
rem  * Copyright (C) 1996-2002 Markus F.X.J. Oberhumer
rem  */

@if "%LZO_ECHO%"=="n" echo off

set CC=gcc -s
set CFLAGS=-Iinclude -O2 -fomit-frame-pointer -Wall -W -Wno-uninitialized
set ASFLAGS=-x assembler-with-cpp -Wall
set MYLIB=liblzo.a

del *.o
echo Compiling, please be patient...
%CC% -x c %CFLAGS% -DLZO_BUILD -c src/*.[cC]
@if errorlevel 1 goto error
%CC% %ASFLAGS% -DLZO_BUILD -c src/i386/src/*.[sS]
@if errorlevel 1 goto error
if exist %MYLIB% del %MYLIB%
ar rcs %MYLIB% *.o
@if errorlevel 1 goto error

%CC% %CFLAGS% -o ltest.exe ltest/ltest.c %MYLIB%
@if errorlevel 1 goto error

%CC% %CFLAGS% -o dict.exe examples/dict.c %MYLIB%
@if errorlevel 1 goto error
%CC% %CFLAGS% -o lpack.exe examples/lpack.c %MYLIB%
@if errorlevel 1 goto error
%CC% %CFLAGS% -o overlap.exe examples/overlap.c %MYLIB%
@if errorlevel 1 goto error
%CC% %CFLAGS% -o precomp.exe examples/precomp.c %MYLIB%
@if errorlevel 1 goto error
%CC% %CFLAGS% -o precomp2.exe examples/precomp2.c %MYLIB%
@if errorlevel 1 goto error
%CC% %CFLAGS% -o simple.exe examples/simple.c %MYLIB%
@if errorlevel 1 goto error

%CC% %CFLAGS% -Isrc -o align.exe tests/align.c %MYLIB%
@if errorlevel 1 goto error
%CC% %CFLAGS% -Isrc -o chksum.exe tests/chksum.c %MYLIB%
@if errorlevel 1 goto error

%CC% -x c %CFLAGS% -o testmini.exe minilzo/*.[cC]
@if errorlevel 1 goto error

@echo Done.
@goto end
:error
echo error!
:end
@call b\unset.bat

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -