2022-05-18 19:20:03 +00:00
|
|
|
# Open Watcom makefile to build SDL2 tests for Win32
|
|
|
|
# wmake -f Makefile.w32
|
2022-10-06 22:17:25 +00:00
|
|
|
#
|
|
|
|
# To error out upon warnings: wmake -f Makefile.w32 ENABLE_WERROR=1
|
2022-05-18 19:20:03 +00: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 22:17:25 +00:00
|
|
|
!ifeq ENABLE_WERROR 1
|
|
|
|
CFLAGS+= -we
|
|
|
|
!endif
|
2022-05-18 19:20:03 +00:00
|
|
|
CFLAGS+= -DSDL_MAIN_HANDLED
|
2023-03-08 15:56:50 +00:00
|
|
|
CFLAGS+= -DHAVE_OPENGL -DHAVE_SIGNAL_H
|
2022-05-18 19:20:03 +00:00
|
|
|
GLLIBS = opengl32.lib
|
|
|
|
|
2022-05-20 18:10:56 +00:00
|
|
|
TNSRCS = testnative.c testnativew32.c
|
2022-05-18 19:20:03 +00:00
|
|
|
|
|
|
|
!include watcom.mif
|