lazarus/lcl/Makefile.fpc
lazarus 969406d8b7 MWE:
* Fixed make clean
  + moved allunits from exe to unit, skipping link stage

git-svn-id: trunk@111 -
2001-01-10 23:54:59 +00:00

44 lines
716 B
Makefile

# $Id$
#
# Makefile.fpc for Lazarus for Free Pascal
#
[targets]
units=allunits
[require]
options=-Ca
packages=fcl gtk
[clean]
units=$(basename $(wildcard $(UNITTARGETDIR)/*$(PPUEXT)))
files=$(wildcard $(UNITTARGETDIR)/*$(OEXT))
[dirs]
# target dir needs to be . or a full path otherwise the
# unittargetdir will be corrupt
targetdir=.
unittargetdir=./units
unitdir=$(UNITTARGETDIR) . ./interfaces/$(LCLPLATFORM)
incdir=./include ./interfaces/$(LCLPLATFORM)
[install]
[libs]
[presettings]
ifndef LCLPLATFORM
LCLPLATFORM=gtk
endif
[defaults]
[rules]
cleartarget:
-$(DEL) $(UNITTARGETDIR)/allunits$(PPUEXT)
all: cleartarget allunits$(PPUEXT)
-$(DEL) $(UNITTARGETDIR)/allunits$(PPUEXT)