From fd61c58320919ee8751a614941e59571792bc626 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= Date: Thu, 2 Dec 2004 21:57:29 +0100 Subject: * Makefile.in (.SUFFIXES): Moved from Makefile.in to... * config.make.in (.SUFFIXES): ... here. This helps compilation with BSD make. * testsuite/Makefile.in (.SUFFIXES): Deleted target. Rev: src/nettle/ChangeLog:1.315 Rev: src/nettle/Makefile.in:1.19 Rev: src/nettle/config.make.in:1.7 Rev: src/nettle/testsuite/Makefile.in:1.12 --- config.make.in | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'config.make.in') diff --git a/config.make.in b/config.make.in index 537599b2..404389c1 100644 --- a/config.make.in +++ b/config.make.in @@ -64,13 +64,16 @@ LINK = $(CC) $(CFLAGS) $(PRE_LDFLAGS) $(LDFLAGS) # usual targets. default: all +# For some reason the suffixes list must be set before the rules. +# Otherwise BSD make won't build binaries e.g. aesdata. + +.SUFFIXES: +.SUFFIXES: .asm .c .$(OBJEXT) .p$(OBJEXT) .html .dvi .info .exe .pdf .ps .texinfo + # Disable builtin rule %$(EXEEXT) : %.c .c: -# Keep object files -.PRECIOUS: %.o - .PHONY: all check install uninstall clean distclean mostlyclean maintainer-clean distdir \ all-here check-here install-here clean-here distclean-here mostlyclean-here \ maintainer-clean-here distdir-here \ -- cgit v1.2.1