summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/makefile')
-rw-r--r--crawl-ref/source/makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/makefile b/crawl-ref/source/makefile
index cb890951c6..0b662b234a 100644
--- a/crawl-ref/source/makefile
+++ b/crawl-ref/source/makefile
@@ -96,6 +96,7 @@ ifdef CROSSHOST
endif
ifneq (,$(findstring MINGW,$(uname_S)))
GAME = crawl.exe
+ bin_prefix = .
WIN32 = Yes
NO_RDYNAMIC = YesPlease
NO_NCURSES = YesPlease
@@ -112,6 +113,7 @@ ifneq (,$(findstring MINGW,$(uname_S)))
endif
ifeq ($(uname_S),DOS)
GAME = crawl.exe
+ bin_prefix = .
NO_NCURSES = yes
NO_UNICODE = yes
NEED_LIBDOS = yes
@@ -197,7 +199,9 @@ INSTALL_UGRP := games:games
chroot_prefix :=
prefix := /usr/games/crawl
+ifeq (,$(bin_prefix))
bin_prefix := bin
+endif
# If you're installing Crawl for multiple users, you *must* set this to a
# valid path before building Crawl. This is not necessary if you are building