* add path of make to SEARCHPATH

This commit is contained in:
peter 2003-10-13 12:14:31 +00:00
parent 6ec9da620b
commit 964de0b20a
2 changed files with 547 additions and 539 deletions

File diff suppressed because it is too large Load Diff

View File

@ -23,6 +23,8 @@ SEARCHPATH:=$(filter-out .,$(subst :, ,$(PATH)))
else
SEARCHPATH:=$(subst ;, ,$(PATH))
endif
# Add path were make is located
SEARCHPATH+=$(patsubst %/,%,$(dir $(MAKE)))
# Search for PWD and determine also if we are under linux
PWD:=$(strip $(wildcard $(addsuffix /pwd.exe,$(SEARCHPATH))))