File: Makefile.os2

package info (click to toggle)
xmp 4.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,036 kB
  • sloc: ansic: 6,365; sh: 4,373; cpp: 149; makefile: 86
file content (33 lines) | stat: -rw-r--r-- 795 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Makefile for OS/2 using Watcom compiler.
#
# wmake -f Makefile.os2
# - builds using libxmp.dll and its import lib (libxmp.lib)
#
# wmake -f Makefile.os2 target=static
# - builds using the static library xmp_static.lib
#
!ifndef target
target = dll
!endif
# change libxmp_path as needed (or specify on the wmake cmdline)
!ifndef libxmp_path
libxmp_path = ../libxmp
!endif

CC=wcc386
SYSTEM=os2v2

CFLAGS = -bt=os2 -bm -fp5 -fpi87 -mf -oeatxh -w4 -zp8 -ei -q
# newer OpenWatcom versions enable W303 by default.
CFLAGS += -wcd=303
# -5s  :  Pentium stack calling conventions.
# -5r  :  Pentium register calling conventions.
CFLAGS += -5s
INCLUDES = -I"$(%WATCOM)/h/os2" -I"$(%WATCOM)/h"

# for sound_dart:
CPPFLAGS = -DSOUND_OS2DART
OS_OBJS = sound_dart.obj
LIBS = mmpm2.lib

!include watcom.mif