From fff4e8265e4a7b6c521470e94e91a7d8649fbf08 Mon Sep 17 00:00:00 2001 From: Brad Parker Date: Fri, 3 Feb 2017 20:22:02 -0500 Subject: [PATCH] add platform definition for DOS --- Makefile.libretro | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Makefile.libretro b/Makefile.libretro index 34b7b8a..f2cfca7 100644 --- a/Makefile.libretro +++ b/Makefile.libretro @@ -149,6 +149,15 @@ else ifeq ($(platform), vita) STATIC_LINKING=1 EXTERNAL_ZLIB=1 +# DOS +else ifeq ($(platform), dos) + TARGET := $(TARGET_NAME)_libretro_$(platform).a + CC = i686-pc-msdosdjgpp-gcc + AR = i686-pc-msdosdjgpp-ar + CFLAGS += -march=i386 + STATIC_LINKING=1 + EXTERNAL_ZLIB=1 + # CTR(3DS) else ifeq ($(platform), ctr) TARGET := $(TARGET_NAME)_libretro_$(platform).a