ignore generated files
add OUTDIR option support