.c.to:
$(AM_V_CC)$(COMPILE) -c -DTEST_RIG -DSRCDIR=\"$(srcdir)\" $< -o $@
.to.t$(EXEEXT):
- $(AM_V_CCLD)$(LINK) $< $(TEST_LIBS) $(top_builddir)/libcatacomb.la \
+ $(AM_V_CCLD)$(LINK) $(TEST_LDFLAGS) $< \
+ $(TEST_LIBS) $(top_builddir)/libcatacomb.la \
$(mLib_LIBS) $(CATACOMB_LIBS) $(LIBS)
%.to: %.c %.lo
$(AM_V_CC)$(COMPILE) -c -DTEST_RIG -DSRCDIR=\"$(srcdir)\" $< -o $@
%.t$(EXEEXT): %.to $(TEST_LIBS) $(top_builddir)/libcatacomb.la
- $(AM_V_CCLD)$(LINK) $+ $(mLib_LIBS) $(CATACOMB_LIBS) $(LIBS)
+ $(AM_V_CCLD)$(LINK) $(TEST_LDFLAGS) $+ \
+ $(mLib_LIBS) $(CATACOMB_LIBS) $(LIBS)
.PRECIOUS: %.to %.t$(EXEEXT)
CLEANFILES += *.to *.t$(EXEEXT)