mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-12 20:49:28 +02:00
49 lines
906 B
Makefile
49 lines
906 B
Makefile
# $Id$
|
|
#
|
|
# Makefile.fpc for Lazarus for Free Pascal
|
|
#
|
|
|
|
[targets]
|
|
# units=allunits
|
|
# loaders=allunits
|
|
|
|
[require]
|
|
rtl=1
|
|
options=-Ca -gl
|
|
packages=fcl gtk
|
|
|
|
[clean]
|
|
units=$(notdir $(basename $(wildcard $(UNITTARGETDIR)/*$(PPUEXT))))
|
|
# not with the lazarusmake.ini
|
|
# files=$(wildcard $(UNITTARGETDIR)/*$(OEXT))
|
|
|
|
[dirs]
|
|
# target dir needs to be . or a full path otherwise the
|
|
# unittargetdir will be corrupt
|
|
# not with the lazarusmake.ini
|
|
# targetdir=.
|
|
unittargetdir=./units
|
|
unitdir=$(UNITTARGETDIR) . ./interfaces/$(LCLPLATFORM)
|
|
incdir=./include ./interfaces/$(LCLPLATFORM)
|
|
|
|
[install]
|
|
units=$(notdir $(basename $(wildcard $(UNITTARGETDIR)/*$(PPUEXT))))
|
|
packagename=lcl
|
|
|
|
[libs]
|
|
|
|
[presettings]
|
|
ifndef LCLPLATFORM
|
|
LCLPLATFORM=gtk
|
|
endif
|
|
|
|
[defaults]
|
|
|
|
[rules]
|
|
cleartarget:
|
|
-$(DEL) $(UNITTARGETDIR)/allunits$(PPUEXT)
|
|
|
|
all: cleartarget allunits$(PPUEXT)
|
|
-$(DEL) $(UNITTARGETDIR)/allunits$(PPUEXT)
|
|
|