Monthly Archives: May 2011

A clean trick for make

In a makefile (or GNUmakefile, if you will) there’s always the little job of cleaning up afterward.┬ámake knows all about the targets and intermediates it creates … why can’t it automatically clean those up itself, somehow? Well, it can … … Continue reading

Posted in Uncategorized | Leave a comment

Redirecting stderr to syslog

Unix has two very useful features: stdio, which gives all routines a rich, global interface to output; and syslog, which manages (diagnostic) output from many processes. How many times have you written a program that sent useful information to stdout … Continue reading

Posted in Uncategorized | Tagged , | 12 Comments