Adam Strzelecki to SDL
authorSam Lantinga <slouken@libsdl.org>
Wed, 28 Oct 2009 04:33:24 +0000
changeset 3416 3d50171ac879
parent 3415 1756b9569141
child 3417 64a60c5d502e
Adam Strzelecki to SDL This patch significantly speeds up make process (mostly noticeable on MinGW+MSYS) canceling implicit rules for dependencies and Makefile.in that caused lot of unnecessary file checks (in case of Windoze those are pretty slow). See "make -d" before and after applying this patch.
Makefile.in
--- a/Makefile.in	Wed Oct 28 04:27:50 2009 +0000
+++ b/Makefile.in	Wed Oct 28 04:33:24 2009 +0000
@@ -62,6 +62,8 @@
 Makefile: $(srcdir)/Makefile.in
 	$(SHELL) config.status $@
 
+Makefile.in:;
+
 $(objects):
 	$(SHELL) $(auxdir)/mkinstalldirs $@
 
@@ -71,7 +73,7 @@
 update-revision:
 	$(SHELL) $(auxdir)/updaterev.sh
 
-.PHONY: all update-revision install install-bin install-hdrs install-lib install-data uninstall uninstall-bin uninstall-hdrs uninstall-lib uninstall-data clean distclean dist
+.PHONY: all update-revision install install-bin install-hdrs install-lib install-data uninstall uninstall-bin uninstall-hdrs uninstall-lib uninstall-data clean distclean dist $(OBJECTS:.lo=.d)
 
 -include $(OBJECTS:.lo=.d)
 @DEPENDS@