I
I
impressive172020-03-01 14:10:45
C++ / C#
impressive17, 2020-03-01 14:10:45

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

1 answer(s)
V
Vladimir Korotenko, 2020-03-01
@firedragon

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 question

Ask a Question

731 491 924 answers to any question