1 Star 0 Fork 0

jlcoding/RediSearch

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
make-parser.mk 371 Bytes
一键复制 编辑 原始数据 按行查看 历史
rafie 提交于 2020-07-02 04:39 +08:00 . Fixes following rebase with master
SRCUTIL ?= .
LEMON := $(SRCUTIL)/lemon
TEMPLATE := $(SRCUTIL)/lempar.c
RAGEL := ragel
all: $(LEMON) lexer.c parser.c
lexer.c: lexer.rl
$(RAGEL) -L -s lexer.rl -o $@
parser.c: parser.y
$(LEMON) -l -s -T$(TEMPLATE) parser.y
clean:
rm -f $(SRCUTIL)/lexer.c $(SRCUTIL)/parser.c
$(LEMON): $(SRCUTIL)/lemon.c $(SRCUTIL)/lempar.c
gcc -o $(LEMON) $(SRCUTIL)/lemon.c
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/msgcode/RediSearch.git
git@gitee.com:msgcode/RediSearch.git
msgcode
RediSearch
RediSearch
master

搜索帮助