vars.am: Remove extra prerequisite from the `.to.t' rule.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 3 Aug 2013 10:51:37 +0000 (11:51 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 5 Aug 2013 01:58:24 +0000 (02:58 +0100)
It doesn't do what one expects.

vars.am

diff --git a/vars.am b/vars.am
index a0c3a6e..b0cd53c 100644 (file)
--- a/vars.am
+++ b/vars.am
@@ -114,9 +114,8 @@ AM_CPPFLAGS          = $(CATACOMB_INCLUDES)
 SUFFIXES               += .c .$t .to
 .c.to:
        $(AM_V_CC)$(COMPILE) -c -DTEST_RIG -DSRCDIR=\"$(srcdir)\" $< -o $@
-.to.$t: libcatacomb.la
-       $(AM_V_CCLD)$(LINK) $< \
-               $(TEST_LIBS) $(top_builddir)/libcatacomb.la \
+.to.$t:
+       $(AM_V_CCLD)$(LINK) $< $(TEST_LIBS) $(top_builddir)/libcatacomb.la \
                $(mLib_LIBS) $(CATACOMB_LIBS) $(LIBS)
 .PRECIOUS: %.to
 CLEANFILES             += *.to *.$t