X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=regress%2FMakefile.in;h=94017cc9964a071a6dad068f6bfa98e0654d39c9;hb=34bbea2eaae53172cdf6513ba9aefd7fe587d81d;hp=7428965edbc3faddad918b7ae0766680d9f1bb97;hpb=d90bae82c10df62f5e69044b27508b719b1d6451;p=adns.git 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)