Keith: windres preprocessor is now overridable

git-svn-id: trunk@1589 -
This commit is contained in:
lazarus 2002-04-03 21:53:39 +00:00
parent 6f067c4c9d
commit 6fa1f13c18
2 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,5 @@
#
# Don't edit, this file is generated by FPCMake Version 1.1 [2002/03/28]
# Don't edit, this file is generated by FPCMake Version 1.1 [2002/03/25]
#
default: all
MAKEFILETARGETS=linux go32v2 win32 os2 freebsd beos netbsd amiga atari sunos qnx netware
@ -205,6 +205,7 @@ LCL_PLATFORM=gtk
endif
export LCL_PLATFORM
endif
export RCPP?=$(strip $(wildcard $(addsuffix /cpp$(SRCEXEEXT), $(SEARCHPATH))))
override TARGET_DIRS+=lcl components
override TARGET_PROGRAMS+=lazarus
override TARGET_EXAMPLEDIRS+=examples
@ -1635,7 +1636,7 @@ endif
.PHONY: lcl components ide tools all clean
.SUFFIXES: .rc .res
%.res: %.rc
windres -i $< -o $@ --preprocessor $(strip $(wildcard $(addsuffix /cpp$(SRCEXEEXT), $(SEARCHPATH))))
windres -i $< -o $@ --preprocessor $(RCPP)
ide:
ifeq ($(OS_TARGET), win32)
$(MAKE) lazarus.res

View File

@ -39,12 +39,15 @@ endif
export LCL_PLATFORM
endif
export RCPP?=$(strip $(wildcard $(addsuffix /cpp$(SRCEXEEXT), $(SEARCHPATH))))
[rules]
.PHONY: lcl components ide tools all clean
.SUFFIXES: .rc .res
%.res: %.rc
windres -i $< -o $@ --preprocessor $(strip $(wildcard $(addsuffix /cpp$(SRCEXEEXT), $(SEARCHPATH))))
windres -i $< -o $@ --preprocessor $(RCPP)
# $(strip $(wildcard $(addsuffix /cpp$(SRCEXEEXT), $(SEARCHPATH))))
ide:
ifeq ($(OS_TARGET), win32)