xpack-dev-tools/windows-build-tools-xpack

Makefiles do not work if the Xpack is located in a path that has a space in the name

c-grant opened this issue · 1 comments

Makefiles do not work if the xpack is located in a path that has a space in the name

example

`#build everything
.PHONY : all
all : clean

.PHONY : clean

clean :
@echo -e "\n Cleaning...\n"`

No space in the path echos the statement while
having a space gives an error make: *** [Makefile:8: clean] Error -1

other commands like "cd" are also not working

here is an example
`#build everything
.PHONY : all
all : clean

.PHONY : clean

clean :
cd ../;busybox pwd`

This is a know limitation of make, in certain conditions it does not support paths with spaces.

Eclipse does a great job at using make in such a way to avoid this limitation.