mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-06-04 20:18:14 +02:00
35 lines
847 B
Makefile
35 lines
847 B
Makefile
# $Id$
|
|
#
|
|
# Makefile.fpc for Lazarus for Free Pascal
|
|
#
|
|
|
|
[package]
|
|
main=lazarus/lcl
|
|
|
|
[require]
|
|
packages=rtl fcl
|
|
|
|
[target]
|
|
units=interfaces
|
|
implicitunits=winext win32def win32proc win32int
|
|
|
|
[compiler]
|
|
options=-gl
|
|
unitdir=../../units/$(CPU_TARGET)-$(OS_TARGET) .
|
|
unittargetdir=../../units/$(CPU_TARGET)-$(OS_TARGET)/win32
|
|
|
|
[clean]
|
|
files=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) \
|
|
$(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) \
|
|
$(wildcard $(COMPILER_UNITTARGETDIR)/*$(STATICLIBEXT)) \
|
|
$(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) \
|
|
$(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
|
|
|
|
[rules]
|
|
cleartarget:
|
|
-$(DEL) $(COMPILER_UNITTARGETDIR)/interfaces$(PPUEXT) \
|
|
$(COMPILER_UNITTARGETDIR)/interfaces$(OEXT)
|
|
|
|
all: cleartarget $(COMPILER_UNITTARGETDIR) interfaces$(PPUEXT)
|
|
|