[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/Makefile.am:
internal_version.c: ${top_srcdir}/PROGRAM_VERSION
${top_srcdir}/vtempl.pl $(component) $(VERSION) < $(templ) > $@
training_SOURCES = training.c internal_version.c
The vtempl.pl 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,
Michel
- Re: [automake] Dependency question with _LDADD,
Michel Briand <=
- Re: [automake] Dependency question with _LDADD, Peter Johansson, 2008/10/07
- Re: [automake] Dependency question with _LDADD, Michel Briand, 2008/10/08
- Re: [automake] Dependency question with _LDADD, Peter Johansson, 2008/10/08
- Re: [automake] Dependency question with _LDADD, Michel Briand, 2008/10/08
- Re: [automake] Dependency question with _LDADD, Peter Johansson, 2008/10/08
- Re: [automake] Dependency question with _LDADD, Michel Briand, 2008/10/08
- Re: [automake] Dependency question with _LDADD, Peter Johansson, 2008/10/08
- Re: [automake] Dependency question with _LDADD, Bob Friesenhahn, 2008/10/08
- Re: [automake] Dependency question with _LDADD, Michel Briand, 2008/10/09
- mailing list netiquette (was: [automake] Dependency question with _LDADD), Ralf Wildenhues, 2008/10/09