On Friday, July 18, 2003, at 09:49 , Josh Wilmes wrote:

At 12:48 on 07/14/2003 +0200, Lars Balker Rasmussen <[EMAIL PROTECTED]> wrote:

I've taken this very simple approach to the problem. A perl-wrapperfor the CC lines in makefiles/root.in

    .c$(O) :
        $(PERL) tools/dev/cc_flags.pl $(CC) $(CFLAGS) ${cc_o_out}$@ -c $<

I would go a bit further, and create a tools/build/compile, tools/build/link_executable, tools/build/link_library, etc.


Take all the flags out of the makefile altogether. Just a thought.

qmail's build process does this. It's heart-breakingly beautiful; Makefiles suddenly start to work like they should.




Gordon Henriksen
[EMAIL PROTECTED]

Reply via email to