mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-29 12:23:54 +02:00
42 lines
936 B
Makefile
42 lines
936 B
Makefile
#
|
|
# Makefile.fpc for LCL Examples for Free Pascal
|
|
#
|
|
|
|
[package]
|
|
name=lazarus-examples
|
|
version=0.9b
|
|
|
|
[target]
|
|
units=hello notebk comdialogs progressbar trackbar listboxtest \
|
|
bitbutton combobox checkbox scrollbar edittest memotest \
|
|
groupbox speedtest toolbar messagedialogs notebooktest \
|
|
listviewtest synedit1 groupboxnested testall
|
|
|
|
[require]
|
|
packages=fcl regexpr
|
|
|
|
[clean]
|
|
files=$(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) \
|
|
trackbar toolbar testall speedtest scrollbar progressbar notebooktest \
|
|
notebk messagedialogs memotest listviewtest listboxtest hello groupbox \
|
|
edittest comdialogs combobox checkbox bitbutton synedit1 groupboxnested
|
|
|
|
[default]
|
|
|
|
[compiler]
|
|
options=-gl
|
|
unitdir=../lcl/units ../lcl/units/$(LCL_PLATFORM) ../components/units .. .
|
|
units=allexamples
|
|
|
|
|
|
[prerules]
|
|
ifndef LCL_PLATFORM
|
|
ifeq ($(OS_TARGET), win32)
|
|
LCL_PLATFORM=win32
|
|
else
|
|
LCL_PLATFORM=gtk
|
|
endif
|
|
export LCL_PLATFORM
|
|
endif
|
|
|