Updated from libc
[make.git] / README.WIN32
blob0d147dcc3f4d858f6e363e7d68b4faf148785a19
1 Port of GNU make to Windows NT and Windows 95 \r
2 Builds natively with MSVC 2.x or MSVC 4.x compilers.\r
3 \r
4 To build with nmake on Windows NT or Windows 95:\r
5 \r
6         1. Make sure cl.exe is in your %Path%. Example:\r
7         \r
8                 set Path=%Path%;c:/msdev/bin\r
9 \r
10         2. Make sure %include% is set to msvc include directory. Example:\r
12                 set include=c:/msdev/include\r
14         3. Make sure %lib% is set to msvc lib directory. Example:\r
16                 set lib=c:/msdev/lib\r
18         4. nmake /f NMakefile\r
21 There is a bat file (build_w32.bat) for folks who have fear of nmake.\r
22         \r
23 Outputs:\r
25         WinDebug/make.exe\r
26         WinRel/make.exe\r
28 Notes:\r
30         This port prefers you have a working sh.exe somewhere on your\r
31         system. If you don't have sh.exe, port falls back to\r
32         MSDOS mode for launching programs (via a batch file).\r
33         The MSDOS mode style execution has not been tested too\r
34         carefully though (I use GNU bash as sh.exe).\r
36         I verified all functionality with a slightly modified version\r
37         of make-test-0.4.5 (modifications to get test suite to run\r
38         on Windows NT). All tests pass in an environment that includes\r
39         sh.exe. \r
41         I did not provide a Visual C project file with this port as\r
42         the project file would not be considered freely distributable\r
43         (or so I think). It is easy enough to create one though if\r
44         you know how to use Visual C. \r
46         I build the program statically to avoid problems locating DLL's\r
47         on machines that may not have MSVC runtime installed. If you\r
48         prefer, you can change make to build with shared libraries by\r
49         changing /MT to /MD in the NMakefile (or build_w32.bat). \r