PosixMakefile |
Makefile : ( statement ) *
statement : rule | macro_definition | comments | empty
rule : inference_rule | target_rule | special_rule
inference_rule : target ':' [ ';' command ]
[ ( command ) * ]
target_rule : [ ( target ) + ] ':' [ ( prerequisite ) * ] [ ';' command ]
[ ( command ) * ]
macro_definition : string '=' ( string )*
comments : ('#' ( string ) ) *
empty :
command : prefix_command string
target : string
prefix_command : '-' | '@' | '+'
internal_macro : "$<" | "$*" | "$@" | "$?" |