Solved

Compiling Make Files in DOS

Posted on 2007-11-14
1
211 Views
Last Modified: 2010-04-15
I have a make file that I would like to compile. I have VS2005 installed etc, but was wondering how to build a make file via DOS.

All my searching brings me to Linux based make options, and I've never used it in DOS before.,
0
Comment
Question by:directxBOB
1 Comment
 
LVL 86

Accepted Solution

by:
jkr earned 500 total points
ID: 20281456
Open the "Visual Studio 2005 Command Prompt" (via the "Tools" menu), navigate to the makefile and type

nmake.exe /f MyProject.mak CFG="MyProject - Win32 Release"

(or "MyProject - Win32 Debug" respectively)
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface I don't like visual development tools that are supposed to write a program for me. Even if it is Xcode and I can use Interface Builder. Yes, it is a perfect tool and has helped me a lot, mainly, in the beginning, when my programs were small…
Examines three attack vectors, specifically, the different types of malware used in malicious attacks, web application attacks, and finally, network based attacks.  Concludes by examining the means of securing and protecting critical systems and inf…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use nested-loops in the C programming language.
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use while-loops in the C programming language.

791 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question