From c84cfc0ecc46ef05dc7997a128ba9486516cb112 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 19 Mar 2006 02:23:52 +0000 Subject: r14554: Write out header dependencies. This means all C files affected will be rebuilt when a header file is changed. It also means parallel builds work now. It will take a minute or so to generate all the dependency information, but there should be no need to rebuild that information later on, unless a file changes. This behaviour is only enabled when building in developer mode (--enable-developer) and requires a GNU make (or compatible). In all other cases, the file 'static_deps.mk' is included, which contains some basic hardcoded dependency information. (This used to be commit eb435386f015ce1d89eb6f7e7837622ebd9e1951) --- source4/build/smb_build/cflags.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'source4/build/smb_build/cflags.pm') diff --git a/source4/build/smb_build/cflags.pm b/source4/build/smb_build/cflags.pm index b5525173a0..299cbab025 100755 --- a/source4/build/smb_build/cflags.pm +++ b/source4/build/smb_build/cflags.pm @@ -21,6 +21,7 @@ sub create_cflags($$) my $ofile = $_; my $dfile = $_; $dfile =~ s/\.o$/.d/; + $dfile =~ s/\.ho$/.d/; print CFLAGS_TXT "$ofile $dfile: CFLAGS+=$key->{EXTRA_CFLAGS}\n"; } } -- cgit