Martin v. Löwis | eb68be4 | 2004-12-12 15:29:21 +0000 | [diff] [blame] | 1 | # /OPT: REF and ICF are added by VS.NET by default |
| 2 | # NOWIN98 saves 7k of executable size, at the expense of some |
| 3 | # slowdown on Win98 |
| 4 | msisupport.dll: msisupport.obj |
| 5 | link.exe /OUT:msisupport.dll /INCREMENTAL:NO /NOLOGO /DLL /MACHINE:X86 /SUBSYSTEM:WINDOWS /OPT:REF /OPT:ICF /OPT:NOWIN98 msisupport.obj msi.lib kernel32.lib |
| 6 | |
| 7 | # We request a static CRT, so that there will be no CRT dependencies |
| 8 | # for the target system. We cannot do without a CRT, since it provides |
| 9 | # the DLL entry point. |
| 10 | msisupport.obj: msisupport.c |
| 11 | cl /O2 /D WIN32 /D NDEBUG /D _WINDOWS /MT /W3 /c msisupport.c |
| 12 | |