(ocamllex scanner)      ; name of scanner .mll file
(ocamlyacc compatiparse) ; name of parser .mly file
(executable
 (name compati)          ; build target is name.exe
 (libraries
  llvm
  llvm.analysis
  ; add any other libraries you might need here
 )
)