aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/Makefile')
-rw-r--r--fs/btrfs/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/fs/btrfs/Makefile b/fs/btrfs/Makefile
index ea9b6665da3..078061c321b 100644
--- a/fs/btrfs/Makefile
+++ b/fs/btrfs/Makefile
@@ -3,8 +3,13 @@ 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 $<
+# if you don't have sparse installed, use ls instead
+check=sparse
+#check=ls
+
+.c.o:
+ $(check) $<
+ $(CC) $(CFLAGS) -c $<
all: tester debug-tree