From: Niels Möller Date: Fri, 25 Nov 2005 13:09:10 +0000 (+0100) Subject: Avoid using single-suffix rule to build X-Git-Tag: nettle_1.14_release_20051205~26 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=eb13d9782306038dfda7d5fbf0b1495a51f5df2b;p=thirdparty%2Fnettle.git Avoid using single-suffix rule to build executables. (Actual change in the previous checkin). Rev: src/nettle/testsuite/Makefile.in:1.18 --- diff --git a/testsuite/Makefile.in b/testsuite/Makefile.in index d0e1d192..9963df61 100644 --- a/testsuite/Makefile.in +++ b/testsuite/Makefile.in @@ -38,6 +38,11 @@ DISTFILES = $(SOURCES) Makefile.in $(TS_SH) run-tests teardown-env \ all: $(TARGETS) $(EXTRA_TARGETS) +# BSD (and Solaris) make doesn't allow extra dependencies together one +# single-suffix rules. So in the common case of $(EXEEXT) empty, we +# need a rule -test.$(OBJEXT)-test$(EXEEXT): rather than the simpler +# .$(OBJEXT)$(EXEEXT): + .SUFFIXES: -test.c -test.$(OBJEXT) -test$(EXEEXT) .c.$(OBJEXT):