xdeb
----

code a bit monolithic, with inline special cases - split into smaller
parts

configuration file?

set useful default values for CC, CXX, etc.
 * watch out for packages that use different names, e.g. CXX vs. CCC,
   BUILD_CC vs. HOST_CC vs. HOSTCC vs. CC_FOR_BUILD
 * figure out what to do about nearly-ubiquitous CC=gcc in Makefiles which
   won't be overridden by environment variables; maybe this would be better
   as a debhelper extension, rather than using the environment?
