[Box Backup-dev] Build system

Chris Wilson boxbackup-dev@fluffy.co.uk
Fri, 9 Dec 2005 12:55:54 +0000 (GMT)


Hi Ben,

I have a question about the Box build system. All the libraries (common.a, 
etc.) have make targets that depend on the dep_modules target, which is a 
phony target. As a result, make always rebuilds the library.

This is quite slow on Cygwin, and I'd like to avoid it if possible. I can 
see why rebuilding an executable might require its dependencies to be 
built first, but I don't think that's true for a library. It should be 
possible to compile the module files and assemble the library even if its 
dependencies aren't built first.

Could we safely remove the dep_modules dependency from library Makefiles?

Cheers, Chris.
-- 
_ ___ __     _
  / __/ / ,__(_)_  | Chris Wilson <0000 at qwirx.com> - Cambs UK |
/ (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
\ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |