view makefile.wpm @ 971:2a21915684d1

Step 1 in modernizing the GTK3 module. Removed all the thread arrays, switching to using pthread_setspecific() to use TLS. Also simplified the clipboard functions. The dw_clipboard_get() function returns a malloc()ed buffer which needs to be dw_free()ed.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Thu, 05 May 2011 22:05:06 +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