From 8d853efe53f13ef85ef8937df33017b33869bd52 Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Mon, 6 Jun 2011 15:21:12 +0100 Subject: build: move special targets to end of main Makefile Signed-off-by: Mans Rullgard --- Makefile | 8 ++++++++ common.mak | 8 -------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index f4d03d42f8..75fe364029 100644 --- a/Makefile +++ b/Makefile @@ -145,5 +145,13 @@ check: test checkheaders include doc/Makefile include tests/Makefile +# Dummy rule to stop make trying to rebuild removed or renamed headers +%.h: + @: + +# Disable suffix rules. Most of the builtin rules are suffix rules, +# so this saves some time on slow systems. +.SUFFIXES: + .PHONY: all alltools *clean check config examples install* .PHONY: testprogs uninstall* diff --git a/common.mak b/common.mak index e9e69f263b..8d21d154d5 100644 --- a/common.mak +++ b/common.mak @@ -43,14 +43,6 @@ HOSTCFLAGS += $(IFLAGS) %.c %.h: TAG = GEN -# Dummy rule to stop make trying to rebuild removed or renamed headers -%.h: - @: - -# Disable suffix rules. Most of the builtin rules are suffix rules, -# so this saves some time on slow systems. -.SUFFIXES: - endif OBJS-$(HAVE_MMX) += $(MMX-OBJS-yes) -- cgit v1.2.3