Website Summary Files Commits Branches @commit @diff @stats
path: root / homework / 81319 / golang2html_code_fold / Makefile
diff options
context:
space:
mode:
Commitceb31e1ce115a7c9a6f0cc365beeb1214b246622 (patch)
Author
 Georgi Stefanov <geosteffanov@gmail.com>
2018-11-03 22:13:19 +0200
Committer
 Martin Dobrev <martindobrev0@gmail.com>
2018-11-03 22:13:19 +0200
Files6341efed7f3f5a0208279ac0207d138503fa5e2a /homework/81319/golang2html_code_fold/Makefile
IPL-ceb31e1ce115a7c9a6f0cc365beeb1214b246622.tar
IPL-ceb31e1ce115a7c9a6f0cc365beeb1214b246622.tar.gz
IPL-ceb31e1ce115a7c9a6f0cc365beeb1214b246622.zip
Parent9557d0cb5a1b3aa9466ddc504be004b5449ce9f2 (diff)
Add foldable blocks in Golang 2 highlighter (#33)
* initial commit * Add implementation using concatenation * Added block collapsing * Finish block collapsing * Fix nested blocks and + -> - when collapsing * Remove unnecessary files. * Add readme
1 files changed, 15 insertions, 0 deletions
-rw-r--r--homework/81319/golang2html_code_fold/Makefile15
diff --git a/homework/81319/golang2html_code_fold/Makefile b/homework/81319/golang2html_code_fold/Makefile
new file mode 100644
index 0000000..7367df5
--- /dev/null
+++ b/homework/81319/golang2html_code_fold/Makefile
@@ -0,0 +1,15 @@
+all: parser
+
+lexer_code.c: lexer.lex
+ flex -o lexer_code.c lexer.lex
+
+lexer: lexer_code.c
+ gcc lexer_code.c -o lexer
+
+parser.tab.c: parser.y
+ bison -d -v parser.y
+
+parser.tab.h: parser.tab.c
+
+parser: parser.tab.c parser.tab.h lexer_code.c
+ ${CC} ${CFLAGS} lexer_code.c parser.tab.c -o parser