dep directory should be made before compile.