lazarus/lcl/interfaces/carbon/Makefile.fpc
2023-08-14 20:31:20 +02:00

42 lines
1.2 KiB
Makefile

[package]
main=lcl
[require]
packages=rtl
[target]
units=lcl.pas
[compiler]
options=-gw -gl -dcarbon
unitdir=../../units/$(CPU_TARGET)-$(OS_TARGET) \
../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) \
../../../components/lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) \
objc pascocoa/appkit pascocoa/foundation \
.. .
unittargetdir=../../units/$(CPU_TARGET)-$(OS_TARGET)/carbon
includedir=objc pascocoa/appkit pascocoa/foundation
[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)/lcl$(PPUEXT) \
$(COMPILER_UNITTARGETDIR)/lcl$(OEXT)
compiled:
$(CPPROG) -f Makefile.compiled $(COMPILER_UNITTARGETDIR)/lcl.compiled
all: cleartarget $(COMPILER_UNITTARGETDIR) ../lcl$(PPUEXT) compiled