How to Change the Default make Target
By default, make executes the first target it encounters in your Makefile. This works fine for simple projects, but as Makefiles grow and you have multiple build configurations, deployment targets, and test suites, you’ll need explicit control over which target runs by default. The .DEFAULT_GOAL Variable The cleanest way to change the default target is…
