Makefile: error on paths with dollar signs

see #1085
This commit is contained in:
Tony Theodore 2015-12-22 20:10:47 +11:00
parent e4b94f396f
commit 5ebcb2ebde
1 changed files with 5 additions and 0 deletions

View File

@ -230,6 +230,11 @@ ifneq ($(words $(PWD)),1)
$(error GNU Make chokes on paths with spaces)
endif
# dollar signs also cause troubles
ifneq (,$(findstring $$,$(PWD)))
$(error GNU Make chokes on paths with dollar signs)
endif
ifeq ($(IGNORE_SETTINGS),yes)
$(info [ignore settings.mk])
else ifeq ($(wildcard $(PWD)/settings.mk),$(PWD)/settings.mk)