[fpc-devel]fpcmake

Peter Vreman peter at freepascal.org
Mon Oct 13 14:17:55 CEST 2003


At 23:43 11-10-2003, you wrote:
>If we change FPCMAKE to generate code like this:
>---------------------
>#add dir of make.exe to PATH
>override PATH +=$(dir $(MAKE))    <-----------------
>override PATH:=$(subst \,/,$(PATH))
>#$(error $(PATH))
>ifeq ($(findstring ;,$(PATH)),)
>inUnix=1
>SEARCHPATH:=$(filter-out .,$(subst :, ,$(PATH)))
>else
>SEARCHPATH:=$(subst ;, ,$(PATH))
>endif
>PWD:=$(strip $(wildcard $(addsuffix /pwd.exe,$(SEARCHPATH))))
># if dir has backslash on the end then search fail
>ifeq ($(PWD),)             <-------------
>PWD:=$(strip $(wildcard $(addsuffix pwd.exe,$(SEARCHPATH))))   <-----------
>endif   <---------------
>

Added to fpcmake.ini



Peter





More information about the fpc-devel mailing list