automake
[Top][All Lists]
Advanced

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

Re: Built header in different dir?


From: Lars Hecking
Subject: Re: Built header in different dir?
Date: Fri, 30 Mar 2001 12:13:07 +0100
User-agent: Mutt/1.3.17i

Alexandre Oliva writes:
> On Mar 30, 2001, Lars Hecking <address@hidden> wrote:
> 
> >  Or is it just as simple as
> 
> > file.o: ../header.h
> 
> >  in subdir/Makefile.am?
> 
> This should work.

 Hhm, it doesn't.

make: Fatal error: Don't know how to make target `../types.h'

 The problem is that ../header.h should already be built before make enters
 subdir. The top level Makefile.am has

BUILT_SOURCES = header1.h header.h

 but only header1.h is built before entering subdir. This works with GNU
 make, but none of the BSD based makes (or Solaris make, for that matter).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]