Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/share/mk

On Dec 12, 11:48am, (Masao Uebayashi) wrote:
-- Subject: Re: CVS commit: src/share/mk

| I had a discussion with dsl@ on source-changes-d@.
| His suggestion was:
|       arith.h: arith.y
|               <yacc commands>
|       arith.o: arith.h
|               [ -f ${@:.o=c} ] || { rm ${@:.o=.h}; exit 1; }
|               <commands to compile arith.c>
|       ie having no real dependency against arith.c
| I showd my idea to make commands to generate only one output.  I got no
| response.  I took that as no one has interest about this.  GENCMD is just
| one way to achieve that.  You can do it in $YOUR_OWN_WAY but the idea is
| that.

Actually I am interested. You just did not present your solution in
tech-whatever so I did not have a chance to comment. Do you have an
example where the existing rules fail, so that I can see what you are
trying to fix?


Home | Main Index | Thread Index | Old Index