Poincaré-Andronov-Melnikov Analysis for Non-Smooth Systems