[Lldb-commits] [PATCH] D11367: Update TestLoadUnload to use base Makefile.

Chaoren Lin chaorenl at google.com
Mon Jul 20 15:37:59 PDT 2015


chaoren added a comment.

We're going to need to hard code each of those in the base Makefile (and a copy for //every// rule involving each of those variables). AFAIK, Makefiles don't have pattern matching on variable names. Maybe it'll be more readable if instead of relying on `$(MAKECMDGOALS)` we can explicitly call different Makefiles?

E.g.,

Have Makefile.a, Makefile.b, ..., etc each containing the rules for lib_a, lib_b, ..., etc. Then the main Makefile call each of these with `$(MAKE) -f Makefile.X`.


http://reviews.llvm.org/D11367







More information about the lldb-commits mailing list