Mercurial > dwindows
view makefile.wpm @ 1102:cfe7d2b6bc16
Added DW_INT_TO_POINTER/DW_UINT_TO_POINTER/DW_POINTER_TO_INT/DW_POINTER_TO_UINT macros.
These are used to cast between pointer and integers without generate warnings on 64bit systems.
Converted Mac source and dwtest source to use them.
Not sure if limits.h is available on all target platforms, will commit fixes as necessary.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Tue, 26 Jul 2011 03:09:41 +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