On Dec 12, 11:48am, uebay...@tombi.co.jp (Masao Uebayashi) wrote: -- Subject: Re: CVS commit: src/share/mk
| I had a discussion with dsl@ on source-change...@. | | http://mail-index.netbsd.org/source-changes-d/2009/12/08/msg001261.html | | 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? christos