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

Chaoren Lin chaorenl at google.com
Mon Jul 20 15:46:02 PDT 2015


You can take a look at the hidden/Makefile for an example.
On Jul 20, 2015 15:38, "Chaoren Lin" <chaorenl at google.com> wrote:

> 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
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150720/9c5b6778/attachment.html>


More information about the lldb-commits mailing list