summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
5cacb4e)
Otherwise you can get this:
regress$ make adnstest_record -j2
gcc -g -O2 -Wall -Wmissing-prototypes -Wwrite-strings -Wstrict-prototypes -Wcast-qual -Wpointer-arith -Wno-pointer-sign -I../src -I. -I./../src -DADNS_REGRESS_TEST -I. -c -g -o addrfam_d.o ../src/addrfam.c
gcc adnstest_c.o hrecord.o hcommon.o types_d.o event_d.o query_d.o reply_d.o general_d.o setup_d.o transmit_d.o parse_d.o poll_d.o check_d.o addrfam_d.o -o adnstest_record
gcc: error: adnstest_c.o: No such file or directory
make: *** [adnstest_record] Error 1
regress$
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
%_playback: %_c.o hplayback.o $(HARNLOBJS)
$(LINK_CMD)
%_playback: %_c.o hplayback.o $(HARNLOBJS)
$(LINK_CMD)
+.SECONDARY: $(addsuffix _c.o, $(CLIENTS))
+# Without this, make will remove <client>_c.o after building <client>.
+# 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 <client> without building
+# <client>_c.o! (Debian #756123.)
+#
+# See also Savannah #29620, http://savannah.gnu.org/bugs/index.php?29620
+
adnshost_%: $(ADH_OBJS) h%.o $(HARNLOBJS)
$(LINK_CMD)
adnshost_%: $(ADH_OBJS) h%.o $(HARNLOBJS)
$(LINK_CMD)