[Top][All Lists]

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

auto-generated source files and automake

From: dchiaramello
Subject: auto-generated source files and automake
Date: Fri, 2 Dec 2011 02:13:06 -0800 (PST)


I am confronted to a problem related to automake, and auto-generated source
file dependencies.

I have a program, requiring foo.c and bar.c to build:

bin_PROGRAMS = prog
prog_SOURCES = foo.c bar.c

But foo.c and bar.c are NOT available when the make is done - they are build
with the following command:
build_sources sourcelist.txt

If I have the following rule:
foo.c : sourcelist.txt
  build_sources sourcelist.txt

it will complain that it has no rule to build bar.c...

How could this been solved?

Thanks for your attention,

PS: of course, this is a greatly simplified case...
View this message in context:
Sent from the Gnu - Automake - General mailing list archive at

reply via email to

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