1[package] 2main=lazarus/lcl 3 4[require] 5packages=rtl 6 7[target] 8units=lcl.pas 9 10[compiler] 11options=-gl 12unitdir=../../units/$(CPU_TARGET)-$(OS_TARGET) \ 13 ../../../packager/units/$(CPU_TARGET)-$(OS_TARGET) \ 14 ../../../components/lazutils/lib/$(CPU_TARGET)-$(OS_TARGET) \ 15 .. . 16unittargetdir=../../units/$(CPU_TARGET)-$(OS_TARGET)/wince 17 18[clean] 19files=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) \ 20 $(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) \ 21 $(wildcard $(COMPILER_UNITTARGETDIR)/*$(STATICLIBEXT)) \ 22 $(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) \ 23 $(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) \ 24 $(wildcard $(COMPILER_UNITTARGETDIR)/*.res) \ 25 $(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) \ 26 $(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT)) 27 28[rules] 29.PHONY: cleartarget compiled all 30 31cleartarget: 32 -$(DEL) $(COMPILER_UNITTARGETDIR)/lcl$(PPUEXT) \ 33 $(COMPILER_UNITTARGETDIR)/lcl$(OEXT) 34 35compiled: 36 $(CPPROG) -f Makefile.compiled $(COMPILER_UNITTARGETDIR)/LCL.compiled 37 38all: cleartarget $(COMPILER_UNITTARGETDIR) ../lcl$(PPUEXT) compiled 39 40