mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
32 lines
574 B
Text
32 lines
574 B
Text
LEX=flex
|
|
YACC=bison
|
|
PREFIX=fts
|
|
|
|
all: fts0pars.cc fts0blex.cc fts0tlex.cc
|
|
|
|
fts0par.cc: fts0pars.y
|
|
fts0blex.cc: fts0blex.l
|
|
fts0tlex.cc: fts0tlex.l
|
|
|
|
.l.cc:
|
|
$(LEX) -P$(subst lex,,$*) -o $*.cc --header-file=../include/$*.h $<
|
|
|
|
.y.cc:
|
|
$(YACC) -p $(PREFIX) -o $*.cc -d $<
|
|
mv $*.h ../include
|
|
LEX=flex
|
|
YACC=bison
|
|
PREFIX=fts
|
|
|
|
all: fts0pars.cc fts0blex.cc fts0tlex.cc
|
|
|
|
fts0par.cc: fts0pars.y
|
|
fts0blex.cc: fts0blex.l
|
|
fts0tlex.cc: fts0tlex.l
|
|
|
|
.l.cc:
|
|
$(LEX) -P$(subst lex,,$*) -o $*.cc --header-file=../include/$*.h $<
|
|
|
|
.y.cc:
|
|
$(YACC) -p $(PREFIX) -o $*.cc -d $<
|
|
mv $*.h ../include
|