Revamped Makefile, with automagical scripts for Valgrind and Gprof