Merge pull request #228 from DOCGroup/jwillemsen-patch-1
[MPC.git] / config / yacc.mpb
bloba311895abe4d6c4612c32bb25c3125c272d3b554
1 project {
2   requires += yacc
3   Define_Custom(YACC) {
4     command          = yacc
5     commandflags     = -d
6     postcommand      = <%mv%> y.tab.c <%source_file%> <%and%> <%mv%> y.tab.h <%header_file%>
7     pch_postrule     = 1
8     inputext         = .yy, .y
9     pre_extension    = .tab
10     source_outputext = .c, .cpp, .cxx, .cc, .C
11     header_outputext = .h, .hpp, .hxx, .hh
12   }