[Top][All Lists]

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

Re: [automake] Dependency question with _LDADD

From: Michel Briand
Subject: Re: [automake] Dependency question with _LDADD
Date: Tue, 7 Oct 2008 12:56:51 +0200

Hi all,

I implemented a new idea for program's version.

In src/bin/

internal_version.c: ${top_srcdir}/PROGRAM_VERSION
        ${top_srcdir}/ $(component) $(VERSION) < $(templ) > $@

training_SOURCES = training.c internal_version.c

The Perl program takes a template as input and filter it to
produce the internal_version.c source file.

Each time the PROGRAM_VERSION file will be changed, the new source file
will be regenerated, then the build system will recompile it, and
relink the program.

Comments are welcome.

Best regards,


reply via email to

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