singe/thirdparty/SDL2_mixer/external/libxmp/lite/Makefile.os2
2023-10-23 19:38:18 -05:00

29 lines
707 B
Text

# Makefile for OS/2 using Watcom compiler.
#
# wmake -f Makefile.os2
# - builds libxmplt.dll and its import lib (libxmplt.lib)
#
# wmake -f Makefile.os2 target=static
# - builds the static library xmplite_static.lib
#
# To disable Impulse Tracker support :
# wmake -f Makefile.os2 DISABLE_IT=1
#
!ifndef target
target = dll
!endif
CC = wcc386
SYSTEM = os2v2
SYSTEM_DLL = os2v2_dll
CFLAGS = -zq -bt=os2 -bm -fp5 -fpi87 -mf -oeatxh -w4 -ei -zp8
# newer OpenWatcom versions enable W303 by default.
CFLAGS += -wcd=303
# -5s : Pentium stack calling conventions.
# -5r : Pentium register calling conventions.
CFLAGS += -5s
CFLAGS += -I"$(%WATCOM)/h/os2" -I"$(%WATCOM)/h"
TARGET_OS2=yes
!include watcom.mif