]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Avoid using single-suffix rule to build
authorNiels Möller <nisse@lysator.liu.se>
Fri, 25 Nov 2005 13:09:10 +0000 (14:09 +0100)
committerNiels Möller <nisse@lysator.liu.se>
Fri, 25 Nov 2005 13:09:10 +0000 (14:09 +0100)
executables. (Actual change in the previous checkin).

Rev: src/nettle/testsuite/Makefile.in:1.18

testsuite/Makefile.in

index d0e1d1924147bf0b15ee476a62eef284a19257cb..9963df61b2f8b1168f0ff36e0ad9a9227a1bea92 100644 (file)
@@ -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):