Keith: Win32 fix: If more than one program called gcc is found in the path, only the first is used as the Resouce-File Pre-Processor.

git-svn-id: trunk@1699 -
This commit is contained in:
lazarus 2002-05-20 02:58:04 +00:00
parent 0266ba1b30
commit f0d15c1540
2 changed files with 3 additions and 7 deletions

View File

@ -1,5 +1,5 @@
#
# Don't edit, this file is generated by FPCMake Version 1.1 [2002/04/22]
# Don't edit, this file is generated by FPCMake Version 1.1 [2002/04/23]
#
default: all
MAKEFILETARGETS=linux go32v2 win32 os2 freebsd beos netbsd amiga atari sunos qnx netware
@ -205,7 +205,7 @@ LCL_PLATFORM=gtk
endif
export LCL_PLATFORM
endif
export RCPP?=$(strip $(wildcard $(addsuffix /cpp$(SRCEXEEXT), $(SEARCHPATH))))
RCPP?=$(strip $(firstword $(wildcard $(addsuffix /cpp$(SRCEXEEXT), $(SEARCHPATH)))))
override TARGET_DIRS+=lcl components
override TARGET_PROGRAMS+=lazarus
override TARGET_EXAMPLEDIRS+=examples

View File

@ -39,7 +39,7 @@ endif
export LCL_PLATFORM
endif
export RCPP?=$(strip $(wildcard $(addsuffix /cpp$(SRCEXEEXT), $(SEARCHPATH))))
RCPP?=$(strip $(firstword $(wildcard $(addsuffix /cpp$(SRCEXEEXT), $(SEARCHPATH)))))
[rules]
.PHONY: lcl components ide tools all clean
@ -71,7 +71,3 @@ ifeq ($(OS_TARGET), win32)
endif
clean: cleanall cleanide