summaryrefslogtreecommitdiffstats
path: root/makefile
diff options
context:
space:
mode:
authorGravatarGravatar Couriersud <couriersud@users.noreply.github.com>2010-01-19 21:53:06 +0000
committerGravatarGravatar Couriersud <couriersud@users.noreply.github.com>2010-01-19 21:53:06 +0000
commitd991c43b73fa9eecfa2a116c5adba0414b99f73a (patch) (github)
treede3893cc4e54a4a3e70fb3a26f15c6fb0e6c6901 /makefile
parent50b784c99e9e6b3f959354919ec030ccda203508 (diff)
downloadmame-d991c43b73fa9eecfa2a116c5adba0414b99f73a.tar.bz2
mame-d991c43b73fa9eecfa2a116c5adba0414b99f73a.zip
Add OS/2 autodetect to makefile
Diffstat (limited to 'makefile')
-rw-r--r--makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/makefile b/makefile
index 0682a589879..9791cd9e23f 100644
--- a/makefile
+++ b/makefile
@@ -67,6 +67,11 @@ TARGETOS = win32
else
ifneq ($(CROSSBUILD),1)
+
+ifneq ($(OS2_SHELL),)
+TARGETOS = win32
+else
+
UNAME = $(shell uname -a)
ifeq ($(firstword $(filter Linux,$(UNAME))),Linux)
@@ -106,6 +111,7 @@ BIGENDIAN=1
endif
endif # BIGENDIAN
+endif # OS/2
endif # CROSS_BUILD
endif # Windows_NT