mirror of
https://github.com/libsdl-org/SDL.git
synced 2024-11-27 13:53:37 +08:00
22 lines
494 B
Makefile
22 lines
494 B
Makefile
# Open Watcom makefile to build SDL2 tests for Win32
|
|
# wmake -f Makefile.w32
|
|
#
|
|
# To error out upon warnings: wmake -f Makefile.w32 ENABLE_WERROR=1
|
|
|
|
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
|
|
!ifeq ENABLE_WERROR 1
|
|
CFLAGS+= -we
|
|
!endif
|
|
CFLAGS+= -DSDL_MAIN_HANDLED
|
|
CFLAGS+= -DHAVE_OPENGL
|
|
GLLIBS = opengl32.lib
|
|
|
|
TNSRCS = testnative.c testnativew32.c
|
|
|
|
!include watcom.mif
|