GNU makefile how to and when to quote strings
问题 How and when do I quote a string in a make file? What is best practice? Is the following the way to quote? $(warning $(shell ls -ld "$(CURDIR)" ) ) I'm familiar with Bash where you usually quote variables to allow for embedded spaces. Do you do such in a makefile? How should I do assignment statements with a string? vara := "$(CURDIR)" varb := $(CURDIR) varc := /home/me/source vard := "/home/me/source" What about the space after the equal? 回答1: You should never quote anything because of make