view makefile.wpm @ 1230:75a773cdb626

Fixes to dw_font_text_extents_get() on Mac so it honors the font set with dw_pixmap_set_font(). Also added multi-page printing code to the test program to make sure that works properly on all platforms. It will print the selected file on page 2, or a centered error message if none is selected.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sun, 16 Oct 2011 19:12:53 +0000
parents 75bf3051235f
children 56f311dc23f6
line wrap: on
line source

#===================================================================
#
#   Auto-dependency information
#
#===================================================================
OS22_H = $(%WATCOM)\h\os2
CFLAGS  = -i=os2 -i=$(OS22_H) -bt=OS2 -zq -d2 -bd

.SUFFIXES:
.SUFFIXES: .obj .c
.c.obj: .AUTODEPEND
	wcc386 $(CFLAGS) $*.c

all:	dw.dll dwcompat.dll

dwcompat.dll: compat.obj
	wlink name dwcompat.dll system os2v2_pm d a library so32dll,tcp32dll option symf f $[@

dw.dll: dw.obj
	wlink name dw.dll system os2v2_pm d a option symf f $[@

dw.obj: os2\dw.c
	wcc386 $(CFLAGS) os2\dw.c