blob: e8fb12d9ad48934cf13fe044a7a6948fe43bf91f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# TODO(c): Fix this. Maybe $(wildcard) always runs at eval-phase.
files = $(wildcard *,*)
# if make starts without foo,bar, it will be empty, although expect foo,bar.
test: foo,bar
echo $(files)
echo $(wildcard foo*)
# first $(files) will be empty since no foo,bar exists.
# second $(files) expects foo, but empty.
foo,bar:
echo $(files)
touch foo,bar
echo $(files)
|