Website Summary Files Commits Branches @commit @diff @stats
path: root / homework / 81352 / ts2html-hw2 / Makefile
blob: c6059aa6bdb99146e6e2071e19adff93a168f53b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
all: parser

lex.yy.c: ts2html.flex
	flex ts2html.flex

parser.tab.c: parser.y
	bison -d parser.y

parser.tab.h: parser.tab.c

parser: lex.yy.c parser.tab.c parser.tab.h
	g++ -std=c++11 lex.yy.c parser.tab.c -o parser