diff options
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 df065dd2dce..fe73ab9d81d 100644 --- a/fs/btrfs/Makefile +++ b/fs/btrfs/Makefile | |||
@@ -1,12 +1,16 @@ | |||
1 | 1 | ||
2 | CFLAGS= -g -Wall | 2 | CFLAGS = -g -Wall |
3 | headers = radix-tree.h ctree.h disk-io.h kerncompat.h print-tree.h | ||
4 | objects = ctree.o disk-io.o radix-tree.o mkfs.o extent-tree.o print-tree.o | ||
3 | 5 | ||
4 | .c.o: | 6 | #.c.o: |
5 | $(CC) $(CFLAGS) -c $< | 7 | # $(CC) $(CFLAGS) -c $< |
6 | 8 | ||
7 | ctree: ctree.o disk-io.h ctree.h disk-io.o radix-tree.o radix-tree.h mkfs.o | 9 | ctree : $(objects) |
8 | gcc $(CFLAGS) -o ctree ctree.o disk-io.o radix-tree.o mkfs.o | 10 | gcc $(CFLAGS) -o ctree $(objects) |
9 | 11 | ||
10 | clean: | 12 | $(objects) : $(headers) |
13 | |||
14 | clean : | ||
11 | rm ctree *.o | 15 | rm ctree *.o |
12 | 16 | ||