sdl12-compat: updated os/2 makefile

From df63539e848b979c3f0bc9ef24395d4983a3d298 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Wed, 14 Apr 2021 17:55:30 +0300
Subject: [PATCH] updated os/2 makefile

---
 src/Makefile.os2 | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/src/Makefile.os2 b/src/Makefile.os2
index c9d39e6..4f117c0 100644
--- a/src/Makefile.os2
+++ b/src/Makefile.os2
@@ -6,22 +6,23 @@
 
 DLLNAME = SDL12
 VERSION = 1.2.50
-LIBHOME = .
 
-# change SDL2INC to point to the SDL2 headers.
-SDL2INC = -IC:\SDL2DEV/h/SDL2
-INCPATH = -I$(%WATCOM)/h/os2 -I$(%WATCOM)/h $(SDL2INC)
+# change SDL2INC to point to the SDL2 headers
+SDL2INC = C:\SDL2DEV\h\SDL2
+INCPATH = -I"$(%WATCOM)/h/os2" -I"$(%WATCOM)/h" -I"$(SDL2INC)"
 LIBNAME = $(DLLNAME)
 
-DLLFILE = $(LIBHOME)/$(LIBNAME).dll
-LIBFILE = $(LIBHOME)/$(LIBNAME).lib
-LNKFILE=$(LIBNAME).lnk
+DLLFILE = $(LIBNAME).dll
+LIBFILE = $(LIBNAME).lib
+LNKFILE = $(LIBNAME).lnk
 
 CFLAGS_DEF=-bt=os2 -d0 -zq -bm -5s -fp5 -fpi87 -sg -oteanbmier $(INCPATH)
 CFLAGS_DLL=$(CFLAGS_DEF) -bd
 
 # Special flags for building SDL
 CFLAGS=$(CFLAGS_DLL) -otexan -wx -ei
+# avoid bogus W200 from cpuid code:
+CFLAGS+= -wcd=200
 # newer OpenWatcom versions enable W303 by default
 CFLAGS+= -wcd=303