2022-11-14 02:25:58 +00:00
|
|
|
# Open Watcom makefile to build SDL2 tests for OS/2
|
|
|
|
# wmake -f Makefile.os2
|
2024-02-12 03:10:54 +00:00
|
|
|
#
|
|
|
|
# To error out upon warnings: wmake -f Makefile.os2 ENABLE_WERROR=1
|
2022-11-14 02:25:58 +00:00
|
|
|
|
2024-02-12 03:10:54 +00:00
|
|
|
SYSTEM = os2v2
|
2022-11-14 02:25:58 +00:00
|
|
|
|
2024-02-12 03:10:54 +00:00
|
|
|
INCPATH = -I"$(%WATCOM)/h/os2" -I"$(%WATCOM)/h"
|
2019-10-30 10:37:22 +00:00
|
|
|
|
2024-02-12 03:10:54 +00:00
|
|
|
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
|
2019-10-30 10:37:22 +00:00
|
|
|
|
2024-02-12 03:10:54 +00:00
|
|
|
TNSRCS = testnative.c testnativeos2.c
|
2019-10-30 10:37:22 +00:00
|
|
|
|
2024-02-12 03:10:54 +00:00
|
|
|
!include watcom.mif
|