Change directory before reading the makefile.
Section: Core make commands
Run make in another directory
bash
bash
make -C services/api testExplanation
Useful in monorepos and wrapper scripts.
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