summaryrefslogtreecommitdiff
path: root/common.mak
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-06-24 19:53:28 +0200
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-06-25 19:15:39 +0200
commitfe343286ec5564606f29aa94848bc5dc3b2b3709 (patch)
treee5cbd17fde769cd7bc0dc0ecfb096fce7d402c46 /common.mak
parent392aa6e444f13aaddcf3d215b1058640a2ada846 (diff)
Restore some more rules to common.mak to improve building in subdirs.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'common.mak')
-rw-r--r--common.mak10
1 files changed, 10 insertions, 0 deletions
diff --git a/common.mak b/common.mak
index 98ec53e611..9a59f77fdd 100644
--- a/common.mak
+++ b/common.mak
@@ -49,6 +49,16 @@ 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:
+
+# Do not delete intermediate files from chains of implicit rules
+$(OBJS):
endif
OBJS-$(HAVE_MMX) += $(MMX-OBJS-yes)