From dec7875a6e23212021e4d9080330a42832dfe02a Mon Sep 17 00:00:00 2001
From: Edward Rudd <urkle@outoforder.cc>
Date: Tue, 15 Jun 2021 01:40:19 +0000
Subject: [PATCH] update SDL soruce to 2.0.14

---
 source/test/Makefile.os2 |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/source/test/Makefile.os2 b/source/test/Makefile.os2
index 4cc4cda..922dffa 100644
--- a/source/test/Makefile.os2
+++ b/source/test/Makefile.os2
@@ -3,7 +3,7 @@
 TARGETS = testatomic.exe testdisplayinfo.exe testbounds.exe testdraw2.exe &
           testdrawchessboard.exe testdropfile.exe testerror.exe testfile.exe &
           testfilesystem.exe testgamecontroller.exe testgesture.exe &
-          testhittesting.exe testhotplug.exe testiconv.exe testime.exe &
+          testhittesting.exe testhotplug.exe testiconv.exe testime.exe testlocale.exe &
           testintersections.exe testjoystick.exe testkeys.exe testloadso.exe &
           testlock.exe testmessage.exe testoverlay2.exe testplatform.exe &
           testpower.exe testsensor.exe testrelative.exe testrendercopyex.exe &
@@ -13,7 +13,7 @@
           testviewport.exe testwm2.exe torturethread.exe checkkeys.exe &
           controllermap.exe testhaptic.exe testqsort.exe testresample.exe &
           testaudioinfo.exe testaudiocapture.exe loopwave.exe loopwavequeue.exe &
-          testyuv.exe testgl2.exe testvulkan.exe testautomation.exe
+          testyuv.exe testgl2.exe testvulkan.exe testnative.exe testautomation.exe
 
 # SDL2test.lib sources (../src/test)
 
@@ -55,7 +55,7 @@
 .c: ../src/test
 
 $(TESTLIB): $(COBJS)
-  wlib -q -b -n $@ $(COBJS)
+  wlib -q -b -n -c $@ $(COBJS)
 
 .obj.exe:
   @%make $(TESTLIB)
@@ -69,6 +69,10 @@
   @%make $(TESTLIB)
   wlink SYS os2v2 libpath $(LIBPATH) lib {$(LIBS)} op q op el file {$<} name $@
 
+testnative.exe: testnative.obj testnativeos2.obj
+  @%make $(TESTLIB)
+  wlink SYS os2v2 libpath $(LIBPATH) lib {$(LIBS)} op q op el file {$<} name $@
+
 testoverlay2.exe: testoverlay2.obj testyuv_cvt.obj
   @%make $(TESTLIB)
   wlink SYS os2v2 libpath $(LIBPATH) lib {$(LIBS)} op q op el file {$<} name $@

--
Gitblit v1.9.3