?? makefile.mak
字號:
#
# makefile to make zlib .obj files using Borland's C++ compiler bcc32
# derived from a makefile generated by BCB6' bpr2mak
#
# if zlib source directory is different from $(JLC)\source\zlib-1.2.3, use
# "make -Dzlibsrc=<path to zlib sources>" to tell make where to find the
# source files
#
# Make.exe needs to reside in the same directory as bcc32.exe.
# For example, if you have Borlands free C++ v. 5.5 compiler (available from
# http://www.borland.com/products/downloads/download_cbuilder.html#) installed:
#
# >C:\Program Files\Borland\BCC55\Bin\make
#
# or, if you want to use C++ Builder 6:
#
# >C:\Program Files\Borland\CBuilder6\Bin\make
#
# or, if you want to use Borland Developer Studio 2006:
#
# >C:\Program files\Borland\BDS\4.0\bin\make
#
# To choose the target CPU, pass "-DCPU=n" as option to make, with n being a
# number between 3 and 6, with the following meanings:
#
# n Target CPU (or compatible)
# --------------------------------
# 3 80386
# 4 80486
# 5 Pentium (default)
# 6 Pentium Pro
#
# Note: This assumes -DZEXPORT=__fastcall -DZEXPORTVA=__cdecl
#
# Robert Rossmair, 2004-10-16
#
CallingConvention = -pr -DZEXPORT=__fastcall -DZEXPORTVA=__cdecl
!if !$d(BCB)
BCB = $(MAKEDIR)\..
!endif
BCC = $(BCB)
!if !$d(zlibsrc)
zlibsrc = ..\..\..\zlib-1.2.3
!endif
!if !$d(CPU)
CPU = 5 # Pentium
!endif
# ---------------------------------------------------------------------------
# IDE SECTION
# ---------------------------------------------------------------------------
# The following section of the project makefile is managed by the BCB IDE.
# It is recommended to use the IDE to change any of the values in this
# section.
# ---------------------------------------------------------------------------
VERSION = BCB.06.00
# ---------------------------------------------------------------------------
OBJFILES = .\zutil.obj .\compress.obj .\crc32.obj .\deflate.obj .\gzio.obj \
.\infback.obj .\inffast.obj .\inflate.obj .\inftrees.obj .\trees.obj \
.\uncompr.obj .\adler32.obj
# ---------------------------------------------------------------------------
DEBUGLIBPATH = $(BCB)\lib\debug
RELEASELIBPATH = $(BCB)\lib\release
USERDEFINES =
SYSDEFINES = NO_STRICT
INCLUDEPATH = $(zlibsrc);$(BCC)\include;$(BCB)\include\vcl
# LIBPATH = $(zlibsrc)
WARNINGS= -w-par -w-aus
PATHC = .;$(zlibsrc)
# PATHOBJ = .;$(LIBPATH)
# ---------------------------------------------------------------------------
CFLAG1 = -O2 -Ve -X- -a8 -$(CPU) -b -d -k- -vi -tWM $(CallingConvention)
# ---------------------------------------------------------------------------
# MAKE SECTION
# ---------------------------------------------------------------------------
# This section of the project file is not used by the BCB IDE. It is for
# the benefit of building from the command-line using the MAKE utility.
# ---------------------------------------------------------------------------
.autodepend
# ---------------------------------------------------------------------------
!if !$d(BCC32)
BCC32 = bcc32
!endif
# ---------------------------------------------------------------------------
!if $d(PATHC)
.PATH.C = $(PATHC)
!endif
# ---------------------------------------------------------------------------
zlib: $(OBJFILES)
# ---------------------------------------------------------------------------
.c.obj:
$(BCC)\BIN\$(BCC32) -c $(CFLAG1) $(WARNINGS) -I$(INCLUDEPATH) -D$(USERDEFINES);$(SYSDEFINES) -n$(@D) {$< }
# ---------------------------------------------------------------------------
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -