From: David Dykstra Date: Mon, 10 Jan 2000 22:39:45 +0000 (+0000) Subject: Make all the rsync objects dependent on all the header files except the X-Git-Tag: v2.4.0~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74f5442401e626c6730b6df58c0cc1087e896a4c;p=thirdparty%2Frsync.git Make all the rsync objects dependent on all the header files except the zlib header fiels in Makefile.in. I've been burned several times because objects did not get rebuilt when header files changed. --- diff --git a/Makefile.in b/Makefile.in index 03c1ca63..353caa30 100644 --- a/Makefile.in +++ b/Makefile.in @@ -20,6 +20,8 @@ SHELL=/bin/sh .SUFFIXES: .SUFFIXES: .c .o +HEADS=byteorder.h config.h errcode.h proto.h rsync.h version.h \ + lib/fnmatch.h lib/getopt.h lib/mdfour.h LIBOBJ=lib/getopt.o lib/fnmatch.o lib/compat.o lib/snprintf.o lib/mdfour.o ZLIBOBJ=zlib/deflate.o zlib/infblock.o zlib/infcodes.o zlib/inffast.o \ zlib/inflate.o zlib/inftrees.o zlib/infutil.o zlib/trees.o \ @@ -53,6 +55,8 @@ install-strip: rsync: $(OBJS) $(CC) $(CFLAGS) $(LDFLAGS) -o rsync $(OBJS) $(LIBS) +$(OBJS): $(HEADS) + rsync.1: rsync.yo yodl2man -o rsync.1 rsync.yo