[Stgt-devel] [PATCH] Makefile auto dependencies
Mon Aug 27 03:20:12 CEST 2007
On Sun, 26 Aug 2007 15:11:20 +0300 (IDT)
Alexander Nezhinsky <nezhinsky at gmail.com> wrote:
> Sorry. The patch isellf was ok, but gmail wrapped the line
> with TGTD_OBJS as it was longer than 80 chars.
> Remailing it from other mailer.
> Added automatic dependencies generation to stgt Makefile.
> Dependency files are generated using -MM flag of gcc and included to
> the Makefile itself.
> Also .PHONY target declarations added where appropriate.
> Signed-off-by: Alexander Nezhinsky <nezhinsky at gmail.com>
> usr/Makefile | 14 +++++++++++++-
> 1 files changed, 13 insertions(+), 1 deletions(-)
Hmm, I stil can't apply the patch cleanly.
rouen:~/git/tgt$ patch -p1 < ~/Mail/iscsi/stgt/2098
patching file usr/Makefile
Hunk #1 FAILED at 46.
1 out of 1 hunk FAILED -- saving rejects to file usr/Makefile.rej
Anyway, I applied it by hand this time.
More information about the stgt