{"id":328,"date":"2012-05-24T00:00:00","date_gmt":"2012-05-24T00:00:00","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/2012\/05\/24\/make-for-windows-nmake\/"},"modified":"2017-12-25T03:02:03","modified_gmt":"2017-12-25T03:02:03","slug":"make-for-windows-nmake","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/make-for-windows-nmake\/","title":{"rendered":"Make for Windows: NMake | What is Nmake?"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-3796 aligncenter\" src=\"http:\/\/www.scmgalaxy.com\/tutorials\/wp-content\/uploads\/2012\/05\/windows-nmake.png\" alt=\"windows-nmake\" width=\"600\" height=\"400\" srcset=\"https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2012\/05\/windows-nmake.png 600w, https:\/\/www.devopsschool.com\/blog\/wp-content\/uploads\/2012\/05\/windows-nmake-300x200.png 300w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p><strong>Make for Windows: NMake<\/strong><\/p>\n<p><strong>What is Nmake?<\/strong><br \/>\nNMAKE is Microsoft&#8217;s implementation of the make tool. The Microsoft Program Maintenance Utility (NMAKE.EXE) is a 32-bit tool that builds projects based on commands contained in a description file.<\/p>\n<p><strong>Another definition found on web as well<\/strong><br \/>\nnmake is the &#8220;make&#8221; program for Visual Studio. A &#8220;make&#8221; program builds (makes) an executable and\/or package by reading a set of &#8220;make&#8221; files. These files are essentially scripts that specify what is to be made, what files (header, source code, resource) are needed for each output file, etc. So nmake can be used to completely automate the process.<\/p>\n<p>A frequently asked question: &#8220;<strong>Where can I find make for Windows?<\/strong>&#8220;. The answer is: &#8220;<strong>Download and use NMake<\/strong>&#8220;.<\/p>\n<p><strong>Downloading NMake<\/strong><br \/>\n<a href=\"http:\/\/support.microsoft.com\/default.aspx?scid=kb;en-us;Q132084\" target=\"_blank\" rel=\"noopener\">http:\/\/support.microsoft.com\/default.aspx?scid=kb;en-us;Q132084<\/a><\/p>\n<p><strong>Direct Downloan Link of Nmake<\/strong><br \/>\n<a href=\"http:\/\/download.microsoft.com\/download\/vc15\/patch\/1.52\/w95\/en-us\/nmake15.exe\" target=\"_blank\" rel=\"noopener\">http:\/\/download.microsoft.com\/download\/vc15\/patch\/1.52\/w95\/en-us\/nmake15.exe<\/a><\/p>\n<p><strong>Installing NMake<\/strong><\/p>\n<p>Run the downloaded executable to extract the files. Copy both the NMAKE.EXE and the NMAKE.ERR file to your Perl bin directory, normally C:\\Perl\\bin. Make sure that you copy the NMAKE.ERR file as well.<\/p>\n<p>1. Download nmake15.exe<\/p>\n<p>2. Double click on nmake15.exe. It will generate 3 files: nmake.exe, nmake.err and readme.txt.<\/p>\n<p>3. Copy nmake.exe and nmake.err to \\perl\\bin, which is where ActivePerl executable files are located.<\/p>\n<p>4. Now try the nmake command in a command window. If you see the following message, NMake 1.5 is installed correctly:<\/p>\n<pre>&gt;nmake<\/pre>\n<pre>Microsoft (R) Program Maintenance Utility   Version 1.50    Copyright (c) Microsoft Corp 1988-94. All rights reserved.<\/pre>\n<pre>NMAKE : fatal error U1064: MAKEFILE not found and no target specified    Stop.<\/pre>\n<p><strong>Example of an NMake session<\/strong><\/p>\n<p>Normally building Perl modules and installing them consist of the following steps:<\/p>\n<p>perl Makefile.pl<br \/>\nmake<br \/>\nmake test<br \/>\nmake install<\/p>\n<p><strong>Reference:<\/strong><br \/>\n<a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/dd9y37ha%28v=vs.71%29.aspx\" target=\"_blank\" rel=\"noopener\">http:\/\/msdn.microsoft.com\/en-us\/library\/dd9y37ha%28v=vs.71%29.aspx<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Make for Windows: NMake What is Nmake? NMAKE is Microsoft&#8217;s implementation of the make tool. The Microsoft Program Maintenance Utility (NMAKE.EXE) is a 32-bit tool that builds projects based on commands contained in a description file. Another definition found on web as well nmake is the &#8220;make&#8221; program for Visual Studio. A &#8220;make&#8221; program builds&#8230;<\/p>\n","protected":false},"author":1,"featured_media":3796,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_joinchat":[],"footnotes":""},"categories":[55],"tags":[2433,2430,2431,2424,2432,670,2423,182,2425,2428,2426,2427,2429],"class_list":["post-328","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-windows","tag-about-nmake","tag-namke-guide","tag-namke-tutorial","tag-nmake","tag-nmake-introduction","tag-what","tag-what-is-nmake","tag-windows","tag-windows-nmake","tag-windows-nmake-instruction","tag-windows-nmake-introduction","tag-windows-nmake-overview","tag-windows-nmake-references"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/328","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=328"}],"version-history":[{"count":2,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/328\/revisions"}],"predecessor-version":[{"id":3797,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/328\/revisions\/3797"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media\/3796"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=328"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=328"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=328"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}