Mercurial > dwindows
view makefile.vac @ 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 | 5668d269beb3 |
children | 32a5be18e187 |
line wrap: on
line source
.SUFFIXES: .c .obj !if ![cmd /c os2\svnrev.cmd] !include SVN.REV !endif .all: \ .\dw.dll \ .\dwcompat.dll .c.obj: icc.exe /DOS2 /DTCPV40HDRS /DBUILD_DLL /DVER_REV=$(VERREV) /I. /Tm+ /Tdc /Ss /Wprorearet /Wpro+ /V"Dynamic Windows Compatibility" /Ti /Gm /Gd- /G5 /Ge- /C /W3 /Wini+ /Wpar+ /Wpro+ /Wuse+ %s .\dw.dll: \ .\os2\dw.obj @echo " Link::Linker " icc.exe @<< /B" /NOE /de /ST:32768 /nologo /li" /Fe"dw.dll" dw.def .\dw.obj so32dll.lib tcp32dll.lib << IMPLIB DW.LIB DW.DEF copy dw.lib lib\dw.lib copy dw.dll dll\dw.dll .\dwcompat.dll: \ .\os2\dirent.obj \ .\compat.obj @echo " Link::Linker " icc.exe @<< /B" /NOE /de /ST:32768 /nologo /li" /Fe"dwcompat.dll" dwcompat.def .\dirent.obj .\compat.obj so32dll.lib tcp32dll.lib << IMPLIB DWCOMPAT.LIB DWCOMPAT.DEF copy dwcompat.lib lib\dwcompat.lib copy dwcompat.dll dll\dwcompat.dll dwtest.obj: icc /Ti /DOS2 /DTCPV40HDRS /Sp1 /I. /Sm /Ss /Q /Gm /Gt /C dwtest.c dwtest.exe: dwtest.obj icc @<< /B" /DE /optfunc" /Fedwtest.exe lib\dw.lib lib\dwcompat.lib dwtest.obj dwtest.def << clean : @if exist *.obj del *.obj @if exist *.map del *.map @if exist *.lib del *.lib @if exist *.dll del *.dll @if exist *.exe del *.exe @if exist *.REV del *.REV