Solved

Compiling Make Files in DOS

Posted on 2007-11-14
1
185 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

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…
Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
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.
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now