If interest exists, I rewrote the Makefile to properly use make's features. This is now much less of a hack.
File is attached.
Makefile
Description: Binary data
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/