From 21d502bfa5f83e1308aab7b965aa31820ec15911 Mon Sep 17 00:00:00 2001 From: Adam Borowski Date: Fri, 6 Nov 2009 21:52:46 +0100 Subject: Make DOS compilable with just make xxx CROSSHOST=i386-pc-msdosdjgpp --- crawl-ref/source/makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- cgit v1.2.3-54-g00ecf