Remove find dependency in Makefile (#164)

This commit is contained in:
billy4479 2022-03-31 00:55:06 +00:00 committed by GitHub
parent 6e02e021bc
commit b0bec17410
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ BUILD_DIR = ./build
SRC_DIRS = ./src ./cli
INC_DIRS = ./src/include
SRCS := $(shell find $(SRC_DIRS) -maxdepth 1 -name *.c)
SRCS := $(foreach DIR,$(SRC_DIRS),$(wildcard $(DIR)/*.c))
OBJS := $(SRCS:.c=.o)
DEPS := $(OBJS:.o=.d)