2022-05-18 13:20:03 -06:00
|
|
|
# Open Watcom makefile to build SDL2 tests for Win32
|
|
|
|
# wmake -f Makefile.w32
|
2022-10-06 16:17:25 -06:00
|
|
|
#
|
|
|
|
# To error out upon warnings: wmake -f Makefile.w32 ENABLE_WERROR=1
|
2022-05-18 13:20:03 -06:00
|
|
|
|
|
|
|
SYSTEM = nt
|
|
|
|
|
|
|
|
INCPATH = -I"$(%WATCOM)/h/nt" -I"$(%WATCOM)/h" -I"../src/video/khronos"
|
|
|
|
|
|
|
|
CFLAGS = -bt=nt -d0 -q -bm -5s -fp5 -fpi87 -sg -oteanbmier -ei
|
|
|
|
CFLAGS+= -wx -wcd=303
|
2022-10-06 16:17:25 -06:00
|
|
|
!ifeq ENABLE_WERROR 1
|
|
|
|
CFLAGS+= -we
|
|
|
|
!endif
|
2022-05-18 13:20:03 -06:00
|
|
|
CFLAGS+= -DSDL_MAIN_HANDLED
|
|
|
|
CFLAGS+= -DHAVE_OPENGL
|
|
|
|
GLLIBS = opengl32.lib
|
|
|
|
|
2022-05-20 12:10:56 -06:00
|
|
|
TNSRCS = testnative.c testnativew32.c
|
2022-05-18 13:20:03 -06:00
|
|
|
|
|
|
|
!include watcom.mif
|