summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a5ea2d0a..6538fe78 100644
--- a/Makefile
+++ b/Makefile
@@ -44,7 +44,7 @@ endif
.PHONY: all
all: bcachefs
-SRCS=$(shell git ls-files '*.c')
+SRCS=$(shell find . -type f -iname '*.c')
DEPS=$(SRCS:.c=.d)
-include $(DEPS)