summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2011-06-06 15:21:12 +0100
committerMans Rullgard <mans@mansr.com>2011-06-23 12:16:53 +0100
commit8d853efe53f13ef85ef8937df33017b33869bd52 (patch)
tree49f0508e3f3b3dabb108215516b6228aa9e0742c
parent41b68dce4d148b6a227d001b32deb275c01aa550 (diff)
build: move special targets to end of main Makefile
Signed-off-by: Mans Rullgard <mans@mansr.com>
-rw-r--r--Makefile8
-rw-r--r--common.mak8
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)