mirror of
https://github.com/zekexiao/pocketlang.git
synced 2025-02-05 20:26:53 +08:00
Remove find dependency in Makefile (#164)
This commit is contained in:
parent
6e02e021bc
commit
b0bec17410
2
Makefile
2
Makefile
@ -14,7 +14,7 @@ BUILD_DIR = ./build
|
|||||||
SRC_DIRS = ./src ./cli
|
SRC_DIRS = ./src ./cli
|
||||||
INC_DIRS = ./src/include
|
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)
|
OBJS := $(SRCS:.c=.o)
|
||||||
DEPS := $(OBJS:.o=.d)
|
DEPS := $(OBJS:.o=.d)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user