Sublime Forum

ST3 and multiple makefiles

#1

I just started using ST3 for editing C++ source code. The project I am currently working on has a main makefile along with several makefiles responsible for compiling unit tests (stored in a separate folder within the project). I created a ST project in the main directory and so when I run “Build”, ST runs the main makefile.

What is the proper way to deal with multiple makefiles? How does the build system determine which makefile to run when a user executes “Build” while editing some source-code file in a multi-folder, multi-makefile project?

I would be super grateful for any help with these issues. I just started using ST, so I apologize if these question are very naive!

0 Likes