Re: [PATCH] Fix compile errors on Debian systems

From: Arnaud Cornet <acornet#debian.org>
Date: Wed, 02 Jan 2008 00:14:44 +0100


Le mardi 01 janvier 2008 à 23:23 +0100, Willy Tarreau a écrit :
> Oh and by the way, to those who might wonder if it's why not switching over
> to autoconf, I can already reply that as an end user, I *hate* having to debug
> that complicated crap, and I don't want to impose it to any of my users ;-)

Only elite m4 hackers will blame you for that.

Since we are playing with makefiles, I noticed that your makefile does not check for dependancies when building. If you change a core structure in a .h file, you need to make clean or old objects using the structure won't be rebuild.

Here is a patch that will have make generate dependancies and include them.

Note that GNU make is smart enough to deal with included files that it generates itself. Older make are not.

Cheers,

-- 
Arnaud Cornet

Received on 2008/01/02 00:14

This archive was generated by hypermail 2.2.0 : 2008/01/02 00:15 CET