Post

Setting Makefile variables on command line

Usually you write something like VARNAME=value within a Makefile to define a make variable. You can also set this when you call make. For example the ADTF Makefiles set ENABLE_DEBUG to true by default. When I want to build an ADTF example filter for release, I call make with:

make ENABLE_DEBUG=false

This post is licensed under CC BY-ND 4.0 by the author.