[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
make 3.79/djgpp
From: |
Gisle Vanem |
Subject: |
make 3.79/djgpp |
Date: |
Sat, 8 May 2004 12:27:02 +0200 |
This snippet from one of my makefiles:
.PHONY: chk_as
AS = as.exe
path_find = $(wildcard $(addsuffix /$(1),$(subst ;, ,$(PATH))))
ifeq ($(call path_find,$(AS)),)
chk_as:
@echo \"$(AS)\" not found on path. Edit Makefile manually.
endif
works fine when $LFN=n. I.e. set before make is run.
e:\djgpp\bin\as.exe is the only as.exe in my $PATH.
But with no $LFN set (and "+LFN=y" in djgpp.env), my 'path_find' function
fails to find as.exe. Why could that be? My $PATH is nothing special; no
paths with spaces and only short 8-3 names.
> make -v
GNU Make version 3.79.2a1, by Richard Stallman and Roland McGrath.
Built for i386-pc-msdosdjgpp
Running in a Win-XP DOS-box.
--gv
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- make 3.79/djgpp,
Gisle Vanem <=