Add OS/2 autodetect to makefile

This commit is contained in:
Couriersud 2010-01-19 21:53:06 +00:00
parent 50b784c99e
commit d991c43b73

View file

@ -67,6 +67,11 @@ TARGETOS = win32
else else
ifneq ($(CROSSBUILD),1) ifneq ($(CROSSBUILD),1)
ifneq ($(OS2_SHELL),)
TARGETOS = win32
else
UNAME = $(shell uname -a) UNAME = $(shell uname -a)
ifeq ($(firstword $(filter Linux,$(UNAME))),Linux) ifeq ($(firstword $(filter Linux,$(UNAME))),Linux)
@ -106,6 +111,7 @@ BIGENDIAN=1
endif endif
endif # BIGENDIAN endif # BIGENDIAN
endif # OS/2
endif # CROSS_BUILD endif # CROSS_BUILD
endif # Windows_NT endif # Windows_NT