2021-09-20 14:50:02 -06:00
|
|
|
# Open Watcom makefile to build SDL2 tests for OS/2
|
|
|
|
# wmake -f Makefile.os2
|
2022-10-06 16:17:25 -06:00
|
|
|
#
|
|
|
|
# To error out upon warnings: wmake -f Makefile.os2 ENABLE_WERROR=1
|
2021-09-20 14:50:02 -06:00
|
|
|
|
2022-05-18 13:56:30 -06:00
|
|
|
SYSTEM = os2v2
|
2021-09-20 14:50:02 -06:00
|
|
|
|
2022-05-18 13:56:30 -06:00
|
|
|
INCPATH = -I"$(%WATCOM)/h/os2" -I"$(%WATCOM)/h"
|
2018-11-20 00:55:00 -07:00
|
|
|
|
2022-05-18 13:56:30 -06:00
|
|
|
CFLAGS = -bt=os2 -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
|
2018-11-20 00:55:00 -07:00
|
|
|
|
2022-05-18 13:56:30 -06:00
|
|
|
TNSRCS = testnative.c testnativeos2.c
|
2022-04-12 06:07:18 -06:00
|
|
|
|
2022-05-18 13:56:30 -06:00
|
|
|
!include watcom.mif
|