btrfs-progs: Add default rules to Makefile
authorEric Sandeen <sandeen@redhat.com>
Sun, 21 Apr 2013 22:22:37 +0000 (17:22 -0500)
committerDavid Sterba <dsterba@suse.cz>
Wed, 24 Apr 2013 12:08:01 +0000 (14:08 +0200)
commitef85e7e285daf3927f7821618849d3545a20ecb9
tree692c65e97cc8a2defae83383627b0e5e5429dd4c
parentb1031dfae128819d06f5f8a2122871a49050dbbc
btrfs-progs: Add default rules to Makefile

Add a default rule for any btrfs-$FOO or btrfs-$FOO.static
target, allowing it to be built from btrfs-$FOO.c along with
all the normal userspace objects.

This gets rid of a lot of the cut and pasted rules for
each individual command, and as an added bonus makes it
easy to build any btrfs-$FOO statically as well, i.e.

  # make btrfs-convert.static

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Makefile