[Top][All Lists]
[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).
- Built header in different dir?, Lars Hecking, 2001/03/30
- Re: Built header in different dir?, Alexandre Oliva, 2001/03/30
- Re: Built header in different dir?,
Lars Hecking <=
- Re: Built header in different dir?, Lars J. Aas, 2001/03/30
- Re: Built header in different dir?, Lars Hecking, 2001/03/30
- Re: Built header in different dir?, Lars Hecking, 2001/03/30
- Re: Built header in different dir?, Lars J. Aas, 2001/03/30
- Re: Built header in different dir?, Lars Hecking, 2001/03/30
- Re: Built header in different dir?, Lars J. Aas, 2001/03/30
- Re: Built header in different dir?, Lars Hecking, 2001/03/30