lazarus/components/lazutils/Makefile.fpc
mattias 65f0257c8d lazutils: updated makefile
git-svn-id: trunk@35994 -
2012-03-14 18:19:03 +00:00

56 lines
1.3 KiB
Makefile

# File generated automatically by Lazarus Package Manager
#
# Makefile.fpc for LazUtils 1.0
#
# This file was generated on 14-3-12
[package]
name=lazutils
version=1.0
[compiler]
unittargetdir=lib/$(CPU_TARGET)-$(OS_TARGET)
unitdir=../../packager/units/$(CPU_TARGET)-$(OS_TARGET) .
options= -MObjFPC -Scghi -O1 -g -gl -vewnhi -l
[target]
units=lazutils.pas
[clean]
files=$(wildcard $(COMPILER_UNITTARGETDIR)/*$(OEXT)) \
$(wildcard $(COMPILER_UNITTARGETDIR)/*$(PPUEXT)) \
$(wildcard $(COMPILER_UNITTARGETDIR)/*$(RSTEXT)) \
$(wildcard $(COMPILER_UNITTARGETDIR)/*.lfm) \
$(wildcard $(COMPILER_UNITTARGETDIR)/*.res) \
$(wildcard $(COMPILER_UNITTARGETDIR)/*.compiled) \
$(wildcard *$(OEXT)) $(wildcard *$(PPUEXT)) $(wildcard *$(RSTEXT))
[prerules]
# LCL Platform
ifndef LCL_PLATFORM
ifeq ($(OS_TARGET),win32)
LCL_PLATFORM=win32
else
ifeq ($(OS_TARGET),win64)
LCL_PLATFORM=win32
else
ifeq ($(OS_TARGET),darwin)
LCL_PLATFORM=carbon
else
LCL_PLATFORM=gtk2
endif
endif
endif
endif
export LCL_PLATFORM
[rules]
.PHONY: cleartarget compiled all
cleartarget:
-$(DEL) $(COMPILER_UNITTARGETDIR)/lazutils$(PPUEXT)
compiled:
$(COPY) Makefile.compiled $(COMPILER_UNITTARGETDIR)/LazUtils.compiled
all: cleartarget $(COMPILER_UNITTARGETDIR) lazutils$(PPUEXT) compiled