diff options
Diffstat (limited to 'fs/btrfs/Makefile')
-rw-r--r-- | fs/btrfs/Makefile | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/fs/btrfs/Makefile b/fs/btrfs/Makefile index 9f84c08baab2..63360212a075 100644 --- a/fs/btrfs/Makefile +++ b/fs/btrfs/Makefile | |||
@@ -1,7 +1,12 @@ | |||
1 | 1 | ||
2 | ctree: ctree.o | 2 | CFLAGS= -g -Wall |
3 | gcc -g -O2 -Wall -o ctree ctree.c | 3 | |
4 | .c.o: | ||
5 | $(CC) $(CFLAGS) -c $< | ||
6 | |||
7 | ctree: ctree.o disk-io.h ctree.h disk-io.o radix-tree.o radix-tree.h | ||
8 | gcc $(CFLAGS) -o ctree ctree.o disk-io.o radix-tree.o | ||
4 | 9 | ||
5 | clean: | 10 | clean: |
6 | rm ctree ctree.o | 11 | rm ctree *.o |
7 | 12 | ||