From 07ad305e8a0c10c82ad7b055e24be5e92601d00c Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Thu, 29 Nov 2007 23:44:40 -0800 Subject: [PATCH] Make sure that the test programs get rebuilt when a header file changes. --- Makefile.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile.in b/Makefile.in index 8d814eed..9e61f4eb 100644 --- a/Makefile.in +++ b/Makefile.in @@ -75,8 +75,6 @@ install-strip: rsync$(EXEEXT): $(OBJS) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) -$(OBJS): $(HEADERS) - flist.o: rounding.h rounding.h: mkrounding$(EXEEXT) @@ -104,6 +102,8 @@ T_UNSAFE_OBJ = t_unsafe.o syscall.o util.o t_stub.o lib/compat.o lib/snprintf.o t_unsafe$(EXEEXT): $(T_UNSAFE_OBJ) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(T_UNSAFE_OBJ) $(LIBS) +$(OBJS) $(TLS_OBJ) $(TRIMSLASH_OBJ) $(T_UNSAFE_OBJ): $(HEADERS) + gen: conf proto.h man gensend: gen @@ -186,7 +186,7 @@ check: all $(CHECK_PROGS) $(CHECK_SYMLINKS) check29: all $(CHECK_PROGS) $(CHECK_SYMLINKS) rsync_bin=`pwd`/rsync$(EXEEXT) $(srcdir)/runtests.sh --protocol=29 -wildtest.o: wildtest.c lib/wildmatch.c rsync.h +wildtest.o: wildtest.c lib/wildmatch.c rsync.h config.h wildtest$(EXEEXT): wildtest.o lib/compat.o lib/snprintf.o @BUILD_POPT@ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ wildtest.o lib/compat.o lib/snprintf.o @BUILD_POPT@ $(LIBS) -- 2.34.1