]> git.phdru.name Git - phdru.name/cgi-bin/blog-ru/search-tags.git/blob - parser/Makefile
Compile the parser to byte-code
[phdru.name/cgi-bin/blog-ru/search-tags.git] / parser / Makefile
1 # Makefile.
2 #
3 # __author__ = "Oleg Broytman <phd@phdru.name>"
4 # __copyright__ = "Copyright (C) 2016 PhiloSoft Design"
5
6 parser.py: grammar.ebnf
7         grako -o $@ $<
8         python -m compileall $@
9         chmod +x $@
10
11
12 .PHONY: test
13 test: parser.py
14         ./test_parser.py