Makefile: We need to exclude hidden folders

Sometimes user-specific apps create .c files in hidden folders breaking make.

Signed-off-by: Daniel B. Hill <daniel@gluo.nz>
This commit is contained in:
Daniel B. Hill 2022-01-12 02:14:41 +13:00
parent 74a7c3ff57
commit 2c0d0c4b7b

View File

@ -99,7 +99,7 @@ TAGS:
tags:
ctags -R .
SRCS=$(shell find . -type f -iname '*.c')
SRCS=$(shell find . -type f ! -path '*/.*/*' -iname '*.c')
DEPS=$(SRCS:.c=.d)
-include $(DEPS)