> : > I'd use "file.$(OBJEXT):", but that's just me.
> :
> : This fails with automake-1.4 (release), which is what I must use.
>
> I thought this would depend on Autoconf, not Automake.
I think you're right - if one uses AC_OBJEXT. We don't, and the generated
Makefiles don't define OBJEXT.
On Fri, Mar 30, 2001 at 02:49:21PM +0100, Lars Hecking wrote:
:
: > : file.o: ../header.h
: >
: > I'd use "file.$(OBJEXT):", but that's just me.
:
: This fails with automake-1.4 (release), which is what I must use.
I thought this would depend on Autoconf, not Automake.
Lars J
> : file.o: ../header.h
>
> I'd use "file.$(OBJEXT):", but that's just me.
This fails with automake-1.4 (release), which is what I must use.
> "Jeremy" == Jeremy Slade <[EMAIL PROTECTED]> writes:
Jeremy> Any idea what I'm doing wrong here? This is autoconf-2.49c,
Jeremy> automake-1.4b, and libtool 1.3.5.
Update Autoconf.
On Fri, Mar 30, 2001 at 02:22:48PM +0100, Lars Hecking wrote:
:
: > > In ./Makefile.am:
: > >
: > > ../header.h: $(srcdir)/../header.h.in
: > > @( cd ..; $(MAKE) header.h )
: >
: > This doesn't help either.
:
: ... but adding
:
: file.o: ../header.h
I'd use "file.$(OBJEXT):", but that's
> > In ./Makefile.am:
> >
> > ../header.h: $(srcdir)/../header.h.in
> > @( cd ..; $(MAKE) header.h )
>
> This doesn't help either.
... but adding
file.o: ../header.h
to the above does it.
Thanks Coffee-Lars ;-)
Lars J. Aas writes:
> On Fri, Mar 30, 2001 at 11:10:32AM +0100, Lars Hecking wrote:
> : How do I define a dependency on a header file in a different directory, eg.
> : the parent dir? I tried
> :
> : BUILT_SOURCES = ../header.h
>
> Try something like this:
>
> In ../Makefile.am:
>
> BUILT_SOUR
On Fri, Mar 30, 2001 at 11:10:32AM +0100, Lars Hecking wrote:
: How do I define a dependency on a header file in a different directory, eg.
: the parent dir? I tried
:
: BUILT_SOURCES = ../header.h
Try something like this:
In ../Makefile.am:
BUILT_SOURCES = header.h
# build $(BUILT_SOURCES) be
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
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.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat
How do I define a dependency on a header file in a different directory, eg.
the parent dir? I tried
BUILT_SOURCES = ../header.h
but automake tells me
automake: subdir/Makefile.am: not supported: source file `../header.h' is in
subdirectory
This is automake 1.4 (and it must work with aut
11 matches
Mail list logo