|
@@ -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))))
|