Alexandre Oliva writes:
> On Mar 30, 2001, Lars Hecking <[EMAIL PROTECTED]> 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