# Open Watcom makefile to build SDL2 tests for OS/2
# wmake -f Makefile.os2
#
# To error out upon warnings: wmake -f Makefile.os2 ENABLE_WERROR=1

SYSTEM = os2v2

INCPATH = -I"$(%WATCOM)/h/os2" -I"$(%WATCOM)/h"

CFLAGS = -bt=os2 -d0 -q -bm -5s -fp5 -fpi87 -sg -oteanbmier -ei
CFLAGS+= -wx -wcd=303
CFLAGS+= -DHAVE_SIGNAL_H
!ifeq ENABLE_WERROR 1
CFLAGS+= -we
!endif

TNSRCS = testnative.c testnativeos2.c

!include watcom.mif
