mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-30 13:23:39 +02:00
37 lines
1.0 KiB
Makefile
37 lines
1.0 KiB
Makefile
[package]
|
|
main=lcl
|
|
|
|
[require]
|
|
packages=rtl
|
|
|
|
[target]
|
|
units=interfaces
|
|
implicitunits=cocoaint
|
|
|
|
[compiler]
|
|
options=-gl -dcocoa
|
|
unitdir=../../units/$(CPU_TARGET)-$(OS_TARGET) ../../../components/lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) .
|
|
unittargetdir=../../units/$(CPU_TARGET)-$(OS_TARGET)/cocoa
|
|
|
|
[clean]
|
|
files=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) \
|
|
$(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) \
|
|
$(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) \
|
|
$(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) \
|
|
$(wildcard $(COMPILER_UNITTARGETDIR)/*.res) \
|
|
$(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) \
|
|
$(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
|
|
|
|
|
|
[rules]
|
|
.PHONY: cleartarget compiled all
|
|
|
|
cleartarget:
|
|
-$(DEL) $(COMPILER_UNITTARGETDIR)/interfaces$(PPUEXT) \
|
|
$(COMPILER_UNITTARGETDIR)/interfaces$(OEXT)
|
|
|
|
compiled:
|
|
$(COPY) Makefile.compiled $(COMPILER_UNITTARGETDIR)/LCL.compiled
|
|
|
|
all: cleartarget $(COMPILER_UNITTARGETDIR) interfaces$(PPUEXT) compiled
|