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/makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/crawl-ref/source/makefile b/crawl-ref/source/makefile
index 6056922ce1..eecf780485 100644
--- a/crawl-ref/source/makefile
+++ b/crawl-ref/source/makefile
@@ -83,6 +83,9 @@ ifdef CROSSHOST
ifneq (,$(findstring mingw,$(CROSSHOST)))
uname_S=MINGW32
endif
+ ifneq (,$(findstring djgpp,$(CROSSHOST)))
+ uname_S=DOS
+ endif
endif
ifneq (,$(findstring MINGW,$(uname_S)))
@@ -101,6 +104,13 @@ ifneq (,$(findstring MINGW,$(uname_S)))
BUILD_ZLIB = YesPlease
endif
endif
+ifeq ($(uname_S),DOS)
+ NO_NCURSES = yes
+ NO_UNICODE = yes
+ NEED_LIBDOS = yes
+ BUILD_PCRE = yes
+ NO_RDYNAMIC = yes
+endif
ifeq ($(uname_S),Darwin)
NO_PKGCONFIG = Yes
ifdef TILES