Browse Source

* add path of make to SEARCHPATH

peter 22 years ago
parent
commit
964de0b20a
2 changed files with 173 additions and 169 deletions
  1. 171 169
      utils/fpcm/fpcmake.inc
  2. 2 0
      utils/fpcm/fpcmake.ini

File diff suppressed because it is too large
+ 171 - 169
utils/fpcm/fpcmake.inc


+ 2 - 0
utils/fpcm/fpcmake.ini

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

Some files were not shown because too many files changed in this diff