

Update Makefile Path by going to File > Preferences > Settings and then selecting makefile under Extensions.Īfter updating Makefile Path, type “makefile” into the Command Palette and run a Makefile Tools command to activate the extension. If your project’s Makefile is not in the root folder, you can use the Makefile Path setting to instruct the extension where to find it.

Once the extension is installed, it will activate when it finds a Makefile in your project’s root folder. Give it a try and let us know what you think! Installing the extensionįirst, install the Makefile Tools extension from the VS Code Marketplace. We are excited to announce a brand-new extension for building and debugging Makefile projects in Visual Studio Code: Makefile Tools (preview)! The extension is in pilot stages, but we’ve curated a list of over 70 popular opensource Makefile projects that work with Makefile Tools.
