Skip to content

Commit

Permalink
Btrfs: Break up ctree.c a little
Browse files Browse the repository at this point in the history
Extent fixes

Signed-off-by: Chris Mason <chris.mason@oracle.com>
  • Loading branch information
Chris Mason authored and David Woodhouse committed Feb 24, 2007
1 parent 9a8dd15 commit 5de08d7
Show file tree
Hide file tree
Showing 6 changed files with 176 additions and 374 deletions.
16 changes: 10 additions & 6 deletions fs/btrfs/Makefile
Original file line number Diff line number Diff line change
@@ -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

Loading

0 comments on commit 5de08d7

Please sign in to comment.