Source-Changes-D archive

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

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


Masao Uebayashi / Tombi Inc. / Tel: +81-90-9141-4635

Home | Main Index | Thread Index | Old Index