Website Summary Files Commits Branches @commit @diff @stats
path: root / homework / 81352 / ts2html-hw2 / Makefile
diff options
context:
space:
mode:
1 files changed, 12 insertions, 0 deletions
-rw-r--r--homework/81352/ts2html-hw2/Makefile12
diff --git a/homework/81352/ts2html-hw2/Makefile b/homework/81352/ts2html-hw2/Makefile
new file mode 100644
index 0000000..c6059aa
--- /dev/null
+++ b/homework/81352/ts2html-hw2/Makefile
@@ -0,0 +1,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