From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id F01D1431FBD for ; Sat, 25 Jan 2014 04:34:10 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VkPK-8i3FNmt for ; Sat, 25 Jan 2014 04:34:04 -0800 (PST) Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) by olra.theworths.org (Postfix) with ESMTP id AB30C431FBC for ; Sat, 25 Jan 2014 04:34:04 -0800 (PST) Received: by guru.guru-group.fi (Postfix, from userid 501) id C10A61000C1; Sat, 25 Jan 2014 14:33:56 +0200 (EET) From: Tomi Ollila To: notmuch@notmuchmail.org Subject: [PATCH 1/1] build: delete the default .SUFFIXES Date: Sat, 25 Jan 2014 14:33:55 +0200 Message-Id: <1390653235-4291-1-git-send-email-tomi.ollila@iki.fi> X-Mailer: git-send-email 1.8.0 Cc: tomi.ollila@iki.fi X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jan 2014 12:34:11 -0000 All implicit rules in notmuch Makefiles are "pattern rules"; Deleting the default suffixes (to support obsolete, old-fashioned "suffix rules") from make reduces the output of 'make -d' by 40 to 90 percent, helping e.g. debugging make problems. --- output size comparisons: full-build: script -c 'make -d' 3159626 Jan 25 14:21 typescript-with-suffixes 430453 Jan 25 14:22 typescript-sans-suffixes build with nothing to do: 3054310 Jan 25 12:10 typescript-with-suffixes 5435585 Jan 25 12:07 typescript-sans-suffixes Makefile.local | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile.local b/Makefile.local index c85e09c..174506c 100644 --- a/Makefile.local +++ b/Makefile.local @@ -325,3 +325,5 @@ DISTCLEAN := $(DISTCLEAN) .first-build-message Makefile.config DEPS := $(SRCS:%.c=.deps/%.d) DEPS := $(DEPS:%.cc=.deps/%.d) -include $(DEPS) + +.SUFFIXES: # Delete the default suffixes. Old-Fashioned Suffix Rules not used. -- 1.8.0