summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2015-12-22 09:10:47 (GMT)
committerTony Theodore <tonyt@logyst.com>2015-12-22 09:10:47 (GMT)
commit5ebcb2ebde350e2840928dc2dcf3663feff93dda (patch)
tree5e4338da2dbc7bee6a0d74863b7930a5f03c9bb1 /Makefile
parente4b94f396ff607e3d61704b91d6b81c8254f2916 (diff)
downloadmxe-5ebcb2ebde350e2840928dc2dcf3663feff93dda.zip
mxe-5ebcb2ebde350e2840928dc2dcf3663feff93dda.tar.gz
mxe-5ebcb2ebde350e2840928dc2dcf3663feff93dda.tar.bz2
Makefile: error on paths with dollar signs
see #1085
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)