1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-02 00:23:50 +03:00

r14693: Automatically update dependencies during compilation

This commit is contained in:
Jelmer Vernooij
2006-03-24 14:47:50 +00:00
committed by Gerald (Jerry) Carter
parent 122d1d0249
commit cea38a2960
2 changed files with 7 additions and 4 deletions

View File

@@ -41,15 +41,17 @@ sub new($$$)
$self->output("################################################\n");
$self->output("\n");
if (!$self->{automatic_deps}) {
$self->output("ALL_PREDEP = proto\n");
}
$self->output("default: all\n\n");
$self->_prepare_path_vars();
$self->_prepare_compiler_linker();
if (!$self->{automatic_deps}) {
$self->output("ALL_PREDEP = proto\n");
} else {
$self->output("CFLAGS += -MD\n");
}
return $self;
}