[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Mon, 28 Apr 2008 10:55:13 +0200
I'm trying to optionally add arguments to a command, depending on the
target, as shown by my (obviously non-working) example:
%.xdb : %.bdfi
[ $(basename $(@F)) = part_of_filename ] && var=2
command --var=$(var) $(basename $(@F)).bdfi
I could make a rule for each possible target, but it seems it could be
simpler, as there are several possible combinations.
Please CC me on replies, as I am not subscribed.
- Rule-specific variables,
Jeffrey Ratcliffe <=