Late Night Adventures with ‘make’ and ‘gprof’

Well, I’ve taken my first steps towards understanding the gnu ‘make’ utility thanks to Andrew Oram and Steve Talbott. I’ve hacked together Makefiles before (we use quite a lot of them in our code base), but tonight I said ‘No more hackery! Makefiles deserve some attention!’. So I read the first few chapters and successfully fixed my vision debugger’s Makefile to handle profiling with gprof, gnu’s profiling utility. I’ll post our (offline) vision system’s profile results when I get them.

Leave a Reply