automake
[Top][All Lists]
Advanced

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

Built header in different dir?


From: Lars Hecking
Subject: Built header in different dir?
Date: Fri, 30 Mar 2001 11:10:32 +0100
User-agent: Mutt/1.3.17i

 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 automake 1.4).

 Or is it just as simple as

file.o: ../header.h

 in subdir/Makefile.am?




reply via email to

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