view makefile.wpm @ 1305:18a31ab94e3d

Added DW_MENU_AUTO and DW_MENU_POPUP flags that can be passed to dw_menu_append_item() in the id field. On OS/2 and Windows AUTO will automatically allocate a menu ID from the larger static pool of IDs. POPUP will automatically allocate an ID from the smaller pool for transient popup menus. These flags don't do anything on the other platforms since they don't require menu IDs.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 03 Nov 2011 10:09:11 +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