Josh Wilmes <[EMAIL PROTECTED]> wrote: >> .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.
It's a good idea, though the correct approach would be to return to only using a modified version of make.pl - but it's a lot more work than merely extending the current system. For now, I've focused only on the requirements Dan had. The suggestion by Benjamin Goldberg was already in the patch already committed. Modifying the link-step the way Benjamin suggests is trivial, although I suggest we wait until the need arises. Cheers, -- Lars Balker Rasmussen Consult::Perl