summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/Makefile
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-02-24 06:24:44 -0500
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-02-24 06:24:44 -0500
commit5de08d7d50ba535b968d97101ed2ab07c2b8eb7d (patch)
tree4959748849f43bea2c096fef09970154173c6e9b /fs/btrfs/Makefile
parent9a8dd1502de6aa683ae46cf0397e9b6e636416fb (diff)
downloadlinux-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/Makefile16
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