On Tue, 2013-01-29 at 14:42 +0100, Liang, Jian wrote:
> Make cannot handle the word or path that contains space.
You're right. The syntax of makefiles precludes this, and no version of
make supports it.
https://savannah.gnu.org/bugs/?712
___
Bug-mak
Hi,
Make cannot handle the word or path that contains space.
Here's a sample: (tested on 3.81 and 3.82)
--
INC=aa/hdr bb/hdr cc\ mgr/hdr
INC_FLAG=$(addprefix -I,$(INC))
N=$(words $(INC))
all: test
@echo INC_FLAG="$(INC_FLAG)"
@echo N=$(N)
test: $(INC)