[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
make question (depend on content of a file)
From: |
James |
Subject: |
make question (depend on content of a file) |
Date: |
Tue, 2 Sep 2008 13:33:52 -0700 (PDT) |
User-agent: |
G2/1.0 |
The goal is to satisfy both (a) and (b):
(a) the target(T) depends on a generated file(F) as well as
on the content of the file (file F contains a list of files).
(b) parallel make enabled
content = $(shell cat F)
T: F $(content)
F:
Rule to generate F
How do I do it?
TIA
James
- make question (depend on content of a file),
James <=