Answer the question
In order to leave comments, you need to log in
How to use Makefile in Visual Studio?
There is a project of three files (2 .c and 1 .h) and a Makefile for it. How can I run it with this Makefile? I work in VS.
Answer the question
In order to leave comments, you need to log in
Open
Command line for visual studio
, go to the folder and run the command
nmake -f makefile test
Well, or create a solution, add the
console application c ++ project
and add these 3 files. Take the keys for the compiler from the targets in the makefile
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question