automake
[Top][All Lists]
Advanced

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

Re: generated files issues


From: Peter Johansson
Subject: Re: generated files issues
Date: Wed, 25 Sep 2013 08:50:25 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.12) Gecko/20130108 Thunderbird/10.0.12

On 09/25/2013 08:00 AM, Werner LEMBERG wrote:

What's the recommended solution to such a problem, except adding
dependencies for all .c files which directly or indirectly include
`foo.h' (which is both inconvenient and error prone)?
Hi Werner,

I use line below in one of my project for similar thing

BUILT_SOURCES = $(builddir)/svn_revision.h


That should ensure that 'svn_revision.h' is created before any compilation starts. I have a non-recursive Makefile so not sure how it works in recursive context.

Cheers,
Peter



reply via email to

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