makefile-query-one-target-method-function

makefile-query-one-target-method-function is a variable defined in `make-mode.el'.
Its value is
makefile-query-by-make-minus-q

  • This variable may be risky if used as a file-local variable.

Documentation:
Function to call to determine whether a make target is up to date.
The function must satisfy this calling convention:

* As its first argument, it must accept the name of the target to
be checked, as a string.

* As its second argument, it may accept the name of a makefile
as a string. Depending on what you're going to do you may
not need this.

* It must return the integer value 0 (zero) if the given target
should be considered up-to-date in the context of the given
makefile, any nonzero integer value otherwise.

You can customize this variable.