> Would it be more natural to make 'debug' a variable instead of a
> target?  Then you could invoke it like this:
>   make debug=1 foo-a
> or perhaps:
>   make build_type=debug foo-a
> and use the variable to set appropriate flags. This resembles the
> common
>   make CFLAGS='-g' foo-a
> idiom that everyone would recognize.

More natural, hmm...  This is of course an alternative, but I feel
that `debug' alone as an argument to `make' is kind of a target also.


    Werner


_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make

Reply via email to