summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 1f43900..120cba6 100644
--- a/Makefile
+++ b/Makefile
@@ -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)