diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-02-24 06:24:44 -0500 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2007-02-24 06:24:44 -0500 |
commit | 5de08d7d50ba535b968d97101ed2ab07c2b8eb7d (patch) | |
tree | 4959748849f43bea2c096fef09970154173c6e9b /fs/btrfs/Makefile | |
parent | 9a8dd1502de6aa683ae46cf0397e9b6e636416fb (diff) | |
download | linux-5de08d7d50ba535b968d97101ed2ab07c2b8eb7d.tar.bz2 |
Btrfs: Break up ctree.c a little
Extent fixes
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/Makefile')
-rw-r--r-- | fs/btrfs/Makefile | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/fs/btrfs/Makefile b/fs/btrfs/Makefile index df065dd2dce7..fe73ab9d81d6 100644 --- a/fs/btrfs/Makefile +++ b/fs/btrfs/Makefile @@ -1,12 +1,16 @@ -CFLAGS= -g -Wall +CFLAGS = -g -Wall +headers = radix-tree.h ctree.h disk-io.h kerncompat.h print-tree.h +objects = ctree.o disk-io.o radix-tree.o mkfs.o extent-tree.o print-tree.o -.c.o: - $(CC) $(CFLAGS) -c $< +#.c.o: +# $(CC) $(CFLAGS) -c $< -ctree: ctree.o disk-io.h ctree.h disk-io.o radix-tree.o radix-tree.h mkfs.o - gcc $(CFLAGS) -o ctree ctree.o disk-io.o radix-tree.o mkfs.o +ctree : $(objects) + gcc $(CFLAGS) -o ctree $(objects) -clean: +$(objects) : $(headers) + +clean : rm ctree *.o |