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

📄 makefile.mak

📁 East make Tray Icon in delphi
💻 MAK
字号:
#--------------------------------------------------------------------------------------------------#
#                                                                                                  #
# JCL Install Helper                                                                               #
#                                                                                                  #
#--------------------------------------------------------------------------------------------------#

!ifndef ROOT
ROOT = $(MAKEDIR)\..
!endif
#---------------------------------------------------------------------------------------------------
VClxOptions     = -c -dVisualCLX -dHAS_UNIT_TYPES -uDevelop -uVCL -x.\Q
VclOptions      = -c -dVCL -dVCL -dMSWINDOWS -uDevelop -uVisualCLX -uUnix -uKYLIX -x.\\
#---------------------------------------------------------------------------------------------------
SRC = ..\source
UNIT = "$(ROOT)\Lib;$(ROOT)\Lib\Obj;$(SRC)\common;$(SRC)\windows"
RES =
BIN = ..\bin
MAP = $(BIN)\$&.map
DRC = $&.drc
#---------------------------------------------------------------------------------------------------
MAKE = "$(ROOT)\bin\make.exe" -$(MAKEFLAGS) -f$**
DCC = "$(ROOT)\bin\dcc32.exe" -dJCLINSTALL -e$(BIN) -i$(SRC) -q -r$(RES) -u$(UNIT) -w $<
BRCC = "$(ROOT)\bin\brcc32.exe" $**
jpp = ..\devtools\jpp.exe
#---------------------------------------------------------------------------------------------------
default:	install
#---------------------------------------------------------------------------------------------------

.dpr.exe:
  @if exist "$(ROOT)\Lib\Obj\vcl.dcp" $(DCC) -LUvcl -LUrtl
  @if exist "$(ROOT)\Lib\Obj\vcl50.dcp" $(DCC) -LUvcl50
  @if not exist "$(ROOT)\Lib\Obj" $(DCC)
	@if exist *.dcu del *.dcu

$(BIN)\JediInstaller.exe: \
                prototypes \
		JediInstaller.dpr

$(BIN)\QJediInstaller.exe: \
                prototypes \
		QJediInstaller.dpr

install:        $(BIN)\JediInstaller.exe
	cd ..
	bin\JediInstaller.exe
	cd install

qinstall:       $(BIN)\QJediInstaller.exe
	cd ..
	bin\QJediInstaller.exe
	cd install

.PHONY: clean prototypes

clean:
	cd ..
	@echo cleaning up first...
	-@for %f in (bin\*.exe) do @if not %f==bin\JediInstaller.exe if not %f==bin\QJediInstaller.exe (del %f)
	-del /f /s *.~* bin\*.dll *.a *.bpi *.dcp *.dcu *.dpu *.hpp *.jdbg *.map *.o
	cd lib
	-del /f /s *.obj *.res
	cd ..\install

prototypes:
	@if exist prototypes "$(MAKEDIR)\make.exe" -fprototypes.mak VclUnits
	@if exist prototypes "$(MAKEDIR)\make.exe" -fprototypes.mak ClxUnits

⌨️ 快捷键说明

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