X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/catacomb/blobdiff_plain/a6d8eb54f8da26e372aa56951e4731ec00903f77..ba57d6526b809146b9c22d8f166b51d22e3bdb68:/vars.am diff --git a/vars.am b/vars.am index 56502879..ea5cbc0e 100644 --- a/vars.am +++ b/vars.am @@ -27,11 +27,6 @@ ###-------------------------------------------------------------------------- ### Miscellaneous useful definitions. -## Some convenient abbreviations for file suffixes. -e = $(EXEEXT) -o = $(OBJEXT) -t = t$e - ## Installation directories. archincludedir = $(pkglibdir)/include @@ -113,13 +108,13 @@ AM_CPPFLAGS = $(CATACOMB_INCLUDES) ###-------------------------------------------------------------------------- ### Testing. -SUFFIXES += .c .$t .to +SUFFIXES += .c .t$(EXEEXT) .to .c.to: $(AM_V_CC)$(COMPILE) -c -DTEST_RIG -DSRCDIR=\"$(srcdir)\" $< -o $@ -.to.$t: +.to.t$(EXEEXT): $(AM_V_CCLD)$(LINK) $< $(TEST_LIBS) $(top_builddir)/libcatacomb.la \ $(mLib_LIBS) $(CATACOMB_LIBS) $(LIBS) .PRECIOUS: %.to -CLEANFILES += *.to *.$t +CLEANFILES += *.to *.t$(EXEEXT) ###----- That's all, folks --------------------------------------------------