// $Id: yacc.mpb 1754 2010-04-24 23:41:07Z elliott_c $
project {
  requires += yacc
  Define_Custom(YACC) {
    command          = yacc
    commandflags     = -d
    postcommand      = <%mv%> y.tab.c <%source_file%> <%and%> <%mv%> y.tab.h <%header_file%>
    pch_postrule     = 1
    inputext         = .yy, .y
    pre_extension    = .tab
    source_outputext = .c, .cpp, .cxx, .cc, .C
    header_outputext = .h, .hpp, .hxx, .hh
  }
}
