On Mon, Nov 16, 2009 at 4:09 AM, Peng Yu
<address@hidden> wrote:
all: file1 file2 file3 ....
<..many rules where file1 ... are targets>
i don't think can make them implicit, but you don't _have_ to name all the prerequisites in advance. You can build up your list incrementally, like:
#!/usr/bin/make -f
all:
foo:
.....
all: foo
bar:
....
all: bar
...
If your rules are generated via $(eval) you can add "all: $(1)" (or whatever) to the body of the macro which generates the rules.
--
----- stephan beal