summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/Makefile
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-02-02 09:18:22 -0500
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-02-02 09:18:22 -0500
commiteb60ceac0ebd11e9896ed1ca84fcad71a4b23601 (patch)
tree70d426737630b713bc18dc5ae8c342651f0f1f44 /fs/btrfs/Makefile
parent4920c9ac9a4bbc6bf9acd8c614987ee6b378e78f (diff)
Btrfs: Add backing store, memory management
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/Makefile')
-rw-r--r--fs/btrfs/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/fs/btrfs/Makefile b/fs/btrfs/Makefile
index 9f84c08baab..63360212a07 100644
--- a/fs/btrfs/Makefile
+++ b/fs/btrfs/Makefile
@@ -1,7 +1,12 @@
-ctree: ctree.o
- gcc -g -O2 -Wall -o ctree ctree.c
+CFLAGS= -g -Wall
+
+.c.o:
+ $(CC) $(CFLAGS) -c $<
+
+ctree: ctree.o disk-io.h ctree.h disk-io.o radix-tree.o radix-tree.h
+ gcc $(CFLAGS) -o ctree ctree.o disk-io.o radix-tree.o
clean:
- rm ctree ctree.o
+ rm ctree *.o