Mercurial > dwindows
view makefile.wpm @ 1381:3ba4853d5b78
Initial attempt at dw_app_dir() for OS/2, Windows and Mac...
This function will return the best attempt at determining the application data directory for the current platform. The executable directory on OS/2 or Windows. The application bundle directory on Mac. The "share" folder at the same level as the binary (or /usr/local/share if that can't be determined) plus the binary name on Unix.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Fri, 25 Nov 2011 17:36:59 +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