2021-09-20 20:50:02 +00:00
|
|
|
# Open Watcom makefile to build SDL2 tests for OS/2
|
|
|
|
# wmake -f Makefile.os2
|
2022-10-06 22:17:25 +00:00
|
|
|
#
|
|
|
|
# To error out upon warnings: wmake -f Makefile.os2 ENABLE_WERROR=1
|
2021-09-20 20:50:02 +00:00
|
|
|
|
2022-05-18 19:56:30 +00:00
|
|
|
SYSTEM = os2v2
|
2021-09-20 20:50:02 +00:00
|
|
|
|
2022-05-18 19:56:30 +00:00
|
|
|
INCPATH = -I"$(%WATCOM)/h/os2" -I"$(%WATCOM)/h"
|
2018-11-20 07:55:00 +00:00
|
|
|
|
2022-05-18 19:56:30 +00:00
|
|
|
CFLAGS = -bt=os2 -d0 -q -bm -5s -fp5 -fpi87 -sg -oteanbmier -ei
|
|
|
|
CFLAGS+= -wx -wcd=303
|
2022-10-06 22:17:25 +00:00
|
|
|
!ifeq ENABLE_WERROR 1
|
|
|
|
CFLAGS+= -we
|
|
|
|
!endif
|
2018-11-20 07:55:00 +00:00
|
|
|
|
2022-05-18 19:56:30 +00:00
|
|
|
TNSRCS = testnative.c testnativeos2.c
|
2022-04-12 12:07:18 +00:00
|
|
|
|
2022-05-18 19:56:30 +00:00
|
|
|
!include watcom.mif
|