Greetings, As it is generally a good idea to allow the user to override CFLAGS and LDFLAGS (automake based systems manage this with AM_CFLAGS vs CFLAGS), here's a patch that does so. The key is to keep options that are required to build, along with include and link paths relative to the source dir seperate from those that should be overridable (warning flags, debug flags, optimizations, include/lib paths outside the source tree). Rather than adding another couple variables, I made use of the GNU make 'override' directive. -- Chris Larson - kergoth at handhelds dot org Embedded Linux Developer - clarson at ti dot com OpenZaurus Project Maintainer - http://openzaurus.org/