tech-toolchain archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bsd.lib.mk question
On Mon, Jun 06, 2011 at 11:34:42AM -0400, der Mouse wrote:
> > [...] - working around the fact that make has no syntax for having
> > one set of commands generate 2 files.
>
> file1 file2: sources
> commands
Doesn't give the expected result. Consider:
PROG= test
SRCS= a.c b.c
a.c b.c:
echo 'int foo;' > ${.TARGET}
If you run that, you will see two calls for echo.
Joerg
Home |
Main Index |
Thread Index |
Old Index