makefile

来自「Cracker终结者——提供最优秀的软件保护技术」· 代码 · 共 32 行

TXT
32
字号
##
## aPLib compression library  -  the smaller the better :)
##
## Delphi example makefile (Borland make)
##
## Copyright (c) 1998-2002 by Joergen Ibsen / Jibz
## All Rights Reserved
##

# Add -DDYNAMIC_VERSION to the dccflags variable to link with the
# dll interface (remember to copy the aPLib dll here).

libdir   = ..\..\lib\delphi

target   = aptest.exe
objects  = t_main.dcu aplib.dcu aplibu.dcu aplibud.dcu aptest.dpr $(libdir)\aplib.obj $(libdir)\depack.obj $(libdir)\depackf.obj

dcc      = dcc32.exe
dccflags = -Q -$A+ -$O+ -$D-

.phony: clean

$(target): $(objects)
	$(dcc) $(dccflags) aptest.dpr

.pas.dcu:
	$(dcc) $(dccflags) $<

clean:
	del $(target)
	del *.dcu

⌨️ 快捷键说明

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