GNU Make 4 · Running make

Set a variable on the command line

Command-line variables override those in the Makefile.

make CC=clang DEBUG=1

Official GNU Make 4 documentation

More running make commands

All running make commands · GNU Make 4 cheatsheet

Was this page helpful?