Source-Changes-D archive

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

Re: make rule of multiple file generation (was Re: CVS commit: src/share/mk)



On Dec 14,  9:13am, uebayasi%tombi.co.jp@localhost (Masao Uebayashi) wrote:
-- Subject: Re: make rule of multiple file generation (was Re: CVS commit: sr

| > |   % cd bin/sh
| > |   % cvs up -D20091201
| > |   % nbmake-XXX -n sh
| > 
| > Ok, this is fixed now (in bsd.sys.mk). What else is broken?
| 
|       % cd bin/sh
|       % nbmake-XXX clean
|       % nbmake-XXX nodes.c nodes.h
|       % rm $( nbmake-XXX print-objdir )/nodes.h
|       % nbmake-XXX

This has nothing to do with yacc; the rules in that Makefile are wrong.

instead of:

    nodes.h: nodes.c
    nodes.c: mknodes.sh nodetypes nodes.c.pat

it should be:

    nodes.h nodes.c: mknodes.sh nodetypes nodes.c.pat

What else?

christos


Home | Main Index | Thread Index | Old Index