Run a named target from the makefile.
Section: Core make commands
Build a specific target
bash
bash
make testExplanation
Builds or executes the recipe for target `test`.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Core make commands
Use a specific makefile
Choose a file other than the default makefile names.
Run make in another directory
Change directory before reading the makefile.