26 |
# automatically (re)generate lscpsymbols.h with bison / yacc if the |
# automatically (re)generate lscpsymbols.h with bison / yacc if the |
27 |
# yacc source file(s) have been changed |
# yacc source file(s) have been changed |
28 |
lscpsymbols.h: $(yacc_sources) |
lscpsymbols.h: $(yacc_sources) |
29 |
$(top_builddir)/scripts/generate_parser.sh |
$(top_srcdir)/scripts/generate_parser.sh |
30 |
|
|
31 |
# automatically (re)generate lscpparser.cpp with bison / yacc if the |
# automatically (re)generate lscpparser.cpp with bison / yacc if the |
32 |
# yacc source file(s) have been changed |
# yacc source file(s) have been changed |
33 |
lscpparser.cpp: $(yacc_sources) |
lscpparser.cpp: $(yacc_sources) |
34 |
$(top_builddir)/scripts/generate_parser.sh |
$(top_srcdir)/scripts/generate_parser.sh |
35 |
|
|
36 |
|
|
37 |
.PHONY: parser |
.PHONY: parser |