X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/e5b61a8dec3586f96d25bd3ef454176526ff0f69..f71eed58935aa99ad2c6ce1c6bff5cbf36e6fb93:/vars.am diff --git a/vars.am b/vars.am index a0c3a6e1..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 @@ -95,7 +90,9 @@ SUBST = $(V_SUBST)$(confsubst) CATACOMB_INCLUDES = \ -I$(top_srcdir) \ - -I$(precomp) \ + -I$(precomp)/math \ + -I$(precomp)/misc \ + -I$(precomp)/symm \ -I$(top_srcdir)/base \ -I$(top_srcdir)/key \ -I$(top_srcdir)/math \ @@ -111,14 +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: libcatacomb.la - $(AM_V_CCLD)$(LINK) $< \ - $(TEST_LIBS) $(top_builddir)/libcatacomb.la \ +.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 --------------------------------------------------