treat all source files as not up to date only with FORCE_COMPILE_ALL

So running the compiler plugin can be done either with FORCE_COMPILE_ALL=1
for simplicity, running the plugin on all source files for the target,
or it's possible to use make's -W option (or touch files manually) to
run it only for selected files.

Change-Id: Ifa82bbe91dc1e179af9db8fbf99271bcf03a1d47
This commit is contained in:
Luboš Luňák
2013-02-09 16:00:50 +01:00
parent 531391239b
commit 1b535267df
2 changed files with 11 additions and 6 deletions

View File

@@ -35,6 +35,8 @@ All warnings and errors are marked '[loplugin]' in the message.
Rewriters analyse and possibly modify given source files.
Usage: make COMPILER_PLUGIN_TOOL=<rewriter_name>
It is possible to also pass FORCE_COMPILE_ALL=1 to make to trigger rebuild of all source files,
even those that are up to date.
Modifications will be written directly to the source files.