mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-13 05:29:26 +02:00

* Fixed make clean + moved allunits from exe to unit, skipping link stage git-svn-id: trunk@111 -
44 lines
716 B
Makefile
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)
|
|
|