btrfs-progs: fix build of standalone utilities after clean
authorDavid Sterba <dsterba@suse.com>
Tue, 22 Mar 2016 17:29:24 +0000 (18:29 +0100)
committerDavid Sterba <dsterba@suse.com>
Wed, 30 Mar 2016 14:25:53 +0000 (16:25 +0200)
commit338e5832e7b2e0bec91b1907b9ed9eee81d7795d
tree4be8ebbbcbaf6e0adf43d4dee06c2e1a56efdb06
parent113d1ad49c6e488ae494e9bb6a4eaa2a5ee4af7c
btrfs-progs: fix build of standalone utilities after clean

$ make clean
$ make btrfs-debug-tree

will fail because the dependency from $(btrfs_debug_tree_objects) is
missing. The variable standalone_deps magically collects all the deps
and will build them in advance. The simple fix to use the existing
substitution based on $@ does not work for pattern rules, as Noah found
out.

Reported-by: Noah Massey <noah.massey@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Makefile.in