mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 20:56:14 +02:00
Keith: windres preprocessor is now overridable
git-svn-id: trunk@1589 -
This commit is contained in:
parent
6f067c4c9d
commit
6fa1f13c18
5
Makefile
5
Makefile
@ -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
|
default: all
|
||||||
MAKEFILETARGETS=linux go32v2 win32 os2 freebsd beos netbsd amiga atari sunos qnx netware
|
MAKEFILETARGETS=linux go32v2 win32 os2 freebsd beos netbsd amiga atari sunos qnx netware
|
||||||
@ -205,6 +205,7 @@ LCL_PLATFORM=gtk
|
|||||||
endif
|
endif
|
||||||
export LCL_PLATFORM
|
export LCL_PLATFORM
|
||||||
endif
|
endif
|
||||||
|
export RCPP?=$(strip $(wildcard $(addsuffix /cpp$(SRCEXEEXT), $(SEARCHPATH))))
|
||||||
override TARGET_DIRS+=lcl components
|
override TARGET_DIRS+=lcl components
|
||||||
override TARGET_PROGRAMS+=lazarus
|
override TARGET_PROGRAMS+=lazarus
|
||||||
override TARGET_EXAMPLEDIRS+=examples
|
override TARGET_EXAMPLEDIRS+=examples
|
||||||
@ -1635,7 +1636,7 @@ endif
|
|||||||
.PHONY: lcl components ide tools all clean
|
.PHONY: lcl components ide tools all clean
|
||||||
.SUFFIXES: .rc .res
|
.SUFFIXES: .rc .res
|
||||||
%.res: %.rc
|
%.res: %.rc
|
||||||
windres -i $< -o $@ --preprocessor $(strip $(wildcard $(addsuffix /cpp$(SRCEXEEXT), $(SEARCHPATH))))
|
windres -i $< -o $@ --preprocessor $(RCPP)
|
||||||
ide:
|
ide:
|
||||||
ifeq ($(OS_TARGET), win32)
|
ifeq ($(OS_TARGET), win32)
|
||||||
$(MAKE) lazarus.res
|
$(MAKE) lazarus.res
|
||||||
|
@ -39,12 +39,15 @@ endif
|
|||||||
export LCL_PLATFORM
|
export LCL_PLATFORM
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
export RCPP?=$(strip $(wildcard $(addsuffix /cpp$(SRCEXEEXT), $(SEARCHPATH))))
|
||||||
|
|
||||||
[rules]
|
[rules]
|
||||||
.PHONY: lcl components ide tools all clean
|
.PHONY: lcl components ide tools all clean
|
||||||
.SUFFIXES: .rc .res
|
.SUFFIXES: .rc .res
|
||||||
|
|
||||||
%.res: %.rc
|
%.res: %.rc
|
||||||
windres -i $< -o $@ --preprocessor $(strip $(wildcard $(addsuffix /cpp$(SRCEXEEXT), $(SEARCHPATH))))
|
windres -i $< -o $@ --preprocessor $(RCPP)
|
||||||
|
# $(strip $(wildcard $(addsuffix /cpp$(SRCEXEEXT), $(SEARCHPATH))))
|
||||||
|
|
||||||
ide:
|
ide:
|
||||||
ifeq ($(OS_TARGET), win32)
|
ifeq ($(OS_TARGET), win32)
|
||||||
|
Loading…
Reference in New Issue
Block a user