summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/Makefile
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-02-26 16:40:21 +0100
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-02-26 16:40:21 +0100
commitfec577fb7f516e0d12ff821b1af272fd754e120a (patch)
treef98b8adbf462cb3a146bcc3ec29e76beba5178ce /fs/btrfs/Makefile
parentBtrfs: cleanup & comment (diff)
downloadlinux-fec577fb7f516e0d12ff821b1af272fd754e120a.tar.xz
linux-fec577fb7f516e0d12ff821b1af272fd754e120a.zip
Btrfs: Add fsx-style randomized tree tester
Add debug-tree command to print the tree Add extent-tree.c to the repo Comment ctree.h Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/Makefile')
-rw-r--r--fs/btrfs/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/fs/btrfs/Makefile b/fs/btrfs/Makefile
index fe73ab9d81d6..855e8f499e37 100644
--- a/fs/btrfs/Makefile
+++ b/fs/btrfs/Makefile
@@ -6,11 +6,17 @@ objects = ctree.o disk-io.o radix-tree.o mkfs.o extent-tree.o print-tree.o
#.c.o:
# $(CC) $(CFLAGS) -c $<
-ctree : $(objects)
- gcc $(CFLAGS) -o ctree $(objects)
+all: tester debug-tree
+
+debug-tree: $(objects) debug-tree.o
+ gcc $(CFLAGS) -o debug-tree $(objects) debug-tree.o
+
+tester: $(objects) random-test.o
+ gcc $(CFLAGS) -o tester $(objects) random-test.o
$(objects) : $(headers)
clean :
rm ctree *.o
+