X-Git-Url: https://git.distorted.org.uk/~mdw/adns/blobdiff_plain/2dee2b7a71c858a78d06814eb98f23ede5602e37..1e5a6d8500aa8fc4632efd09ad5384af89a2a493:/regress/Makefile.in diff --git a/regress/Makefile.in b/regress/Makefile.in index 7428965..94017cc 100644 --- a/regress/Makefile.in +++ b/regress/Makefile.in @@ -56,6 +56,16 @@ LINK_CMD= $(CC) $(LDFLAGS) $^ $(LDLIBS) -o $@ %_playback: %_c.o hplayback.o $(HARNLOBJS) $(LINK_CMD) +.SECONDARY: $(addsuffix _c.o, $(CLIENTS)) +# Without this, make will remove _c.o after building . +# This wastes effort. (Debian bug #4073.) +# +# Also, it exposes us to a bug (in make 3.81, at least) which can +# cause make to run the rule for building without building +# _c.o! (Debian #756123.) +# +# See also Savannah #29620, http://savannah.gnu.org/bugs/index.php?29620 + adnshost_%: $(ADH_OBJS) h%.o $(HARNLOBJS) $(LINK_CMD)