[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
make: using wildcard in rule based on stem
From: |
r . grosmann |
Subject: |
make: using wildcard in rule based on stem |
Date: |
Wed, 22 Oct 2014 02:46:17 -0700 (PDT) |
User-agent: |
G2/1.0 |
hello group,
I want to make a rule in which the prerequisites are base on the stem, in
combination on the target. Like in
$(OBJS): %.html: %.in $(wildcard *.%)
do_it $<
I want file a.html be dependent on a.in, but also on all files *.a in the
working dir.
Is that possible? Can I use the stem in a function in a rule?
thanks in advance! Ruud
- make: using wildcard in rule based on stem,
r . grosmann <=