build: move special targets to end of main Makefile

Signed-off-by: Mans Rullgard <mans@mansr.com>
This commit is contained in:
Mans Rullgard 2011-06-06 15:21:12 +01:00
parent 41b68dce4d
commit 8d853efe53
2 changed files with 8 additions and 8 deletions

View File

@ -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*

View 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)