build: move special targets to end of main Makefile
authorMans Rullgard <mans@mansr.com>
Mon, 6 Jun 2011 14:21:12 +0000 (15:21 +0100)
committerMans Rullgard <mans@mansr.com>
Thu, 23 Jun 2011 11:16:53 +0000 (12:16 +0100)
Signed-off-by: Mans Rullgard <mans@mansr.com>
Makefile
common.mak

index f4d03d42f80b71028f6153c2e050be9068ebd06b..75fe364029b517f628904e6c437d6de6ad9ed997 100644 (file)
--- 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*
index e9e69f263bcb309ceb7262079d651fcd0b6cc48d..8d21d154d5f061d3022322cc43282c3eac80c8f6 100644 (file)
@@ -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)