Adam Strzelecki to SDL
authorSam Lantinga <slouken@libsdl.org>
Wed, 28 Oct 2009 04:33:24 +0000
changeset 34163d50171ac879
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
     1.1 --- a/Makefile.in	Wed Oct 28 04:27:50 2009 +0000
     1.2 +++ b/Makefile.in	Wed Oct 28 04:33:24 2009 +0000
     1.3 @@ -62,6 +62,8 @@
     1.4  Makefile: $(srcdir)/Makefile.in
     1.5  	$(SHELL) config.status $@
     1.6  
     1.7 +Makefile.in:;
     1.8 +
     1.9  $(objects):
    1.10  	$(SHELL) $(auxdir)/mkinstalldirs $@
    1.11  
    1.12 @@ -71,7 +73,7 @@
    1.13  update-revision:
    1.14  	$(SHELL) $(auxdir)/updaterev.sh
    1.15  
    1.16 -.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
    1.17 +.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)
    1.18  
    1.19  -include $(OBJECTS:.lo=.d)
    1.20  @DEPENDS@