Function to list all targets in a Makefile