How to pass parameters to the Makefile?

A: directly behind the make command plus parameters, such as:

  make HOST_CFLAGS=-I.

Precautions:

  HOST_CFLAGS variables will be replaced in the corresponding Makefile HOST_CFLAGS, i.e. the Makefile HOST_CFLAGS will be covered out  

Guess you like

Origin www.cnblogs.com/dakewei/p/11243620.html