Rebar should compile .slex sources to .erl files by default.