On Dec 14,  9:13am, uebay...@tombi.co.jp (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

Reply via email to