lazarus/lcl/interfaces/gtk2/Makefile.fpc
mattias eaaabadb9b lcl: clean up widgetset directories
git-svn-id: trunk@29044 -
2011-01-15 19:35:02 +00:00

38 lines
1002 B
Makefile

[package]
main=lazarus/lcl
[require]
packages=rtl
[target]
units=interfaces
implicitunits=gtk2int
[compiler]
options=-gl -dgtk2
unitdir=../../units/$(CPU_TARGET)-$(OS_TARGET) .
unittargetdir=../../units/$(CPU_TARGET)-$(OS_TARGET)/gtk2
includedir=.
[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