cannavur.blogg.se

Makefile for c program visual studio
Makefile for c program visual studio





makefile for c program visual studio

This means that I can't debug line-by-line. Since the compiled binary file is make by the makefile (and called "sfs"), it leaves Visual Studio searching for an exe file with the same name as the project. Makefiles are basically the reinterpretcast of the. Visual Studio likes to create an exe file with the name of the project and then run it for debugging. You can use makefiles in VS, but when you do it bypasses all the built-in functionality in MSVCs IDE. I was then able to tell it to run the command "nmake" which compiled the program, although I had to put all the files into the same folder as the project. I set up MinGW properly and managed to get Visual Studio to compile by setting up a new Makefile project. Nothing about connecting to Unix or Linux remotely. They told us to either use Visual Studio or Vim+GDB if we were using Windows. NOTE: Every class ( at my small College) that had a makefile like that had to remotely connect to a Unix or Linux computer and do the project that way.Īre you sure that is NOT true for your class?







Makefile for c program visual studio