comparison Makefile.in @ 3416:3d50171ac879

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.
author Sam Lantinga <slouken@libsdl.org>
date Wed, 28 Oct 2009 04:33:24 +0000
parents 3c9e6f2f3c58
children 48caa67fac25
comparison
equal deleted inserted replaced
3415:1756b9569141 3416:3d50171ac879
60 @sleep 3 60 @sleep 3
61 61
62 Makefile: $(srcdir)/Makefile.in 62 Makefile: $(srcdir)/Makefile.in
63 $(SHELL) config.status $@ 63 $(SHELL) config.status $@
64 64
65 Makefile.in:;
66
65 $(objects): 67 $(objects):
66 $(SHELL) $(auxdir)/mkinstalldirs $@ 68 $(SHELL) $(auxdir)/mkinstalldirs $@
67 69
68 # To make sure parallel builds will not fail 70 # To make sure parallel builds will not fail
69 $(srcdir)/include/SDL_revision.h: update-revision 71 $(srcdir)/include/SDL_revision.h: update-revision
70 72
71 update-revision: 73 update-revision:
72 $(SHELL) $(auxdir)/updaterev.sh 74 $(SHELL) $(auxdir)/updaterev.sh
73 75
74 .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 76 .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)
75 77
76 -include $(OBJECTS:.lo=.d) 78 -include $(OBJECTS:.lo=.d)
77 @DEPENDS@ 79 @DEPENDS@
78 @VERSION_DEPENDS@ 80 @VERSION_DEPENDS@
79 @SDLMAIN_DEPENDS@ 81 @SDLMAIN_DEPENDS@