Makefile.in
changeset 2983 388c5a2daeac
parent 2982 b64c1d23039b
child 2984 0b160c970b7e
     1.1 --- a/Makefile.in	Sun Jan 04 05:08:12 2009 +0000
     1.2 +++ b/Makefile.in	Sun Jan 04 05:27:13 2009 +0000
     1.3 @@ -35,6 +35,7 @@
     1.4  TARGET  = libSDL.la
     1.5  SOURCES = @SOURCES@
     1.6  OBJECTS = @OBJECTS@
     1.7 +REVISION = $(srcdir)/include/SDL_revision.h
     1.8  
     1.9  SDLMAIN_TARGET = libSDLmain.a
    1.10  SDLMAIN_SOURCES = @SDLMAIN_SOURCES@
    1.11 @@ -66,6 +67,8 @@
    1.12  update-revision:
    1.13  	$(SHELL) $(auxdir)/updaterev.sh
    1.14  
    1.15 +$(REVISION): update-revision
    1.16 +
    1.17  .PHONY: all update-revision depend install install-bin install-hdrs install-lib install-data install-man uninstall uninstall-bin uninstall-hdrs uninstall-lib uninstall-data uninstall-man clean distclean dist
    1.18  depend:
    1.19  	@SOURCES="$(SOURCES)" INCLUDE="$(INCLUDE)" output="$(depend)" \
    1.20 @@ -78,7 +81,7 @@
    1.21  
    1.22  include $(depend)
    1.23  
    1.24 -$(objects)/$(TARGET): update-revision $(OBJECTS)
    1.25 +$(objects)/$(TARGET): $(REVISION) $(OBJECTS)
    1.26  	$(LIBTOOL) --mode=link $(CC) -o $@ $(OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS)
    1.27  
    1.28  $(objects)/$(SDLMAIN_TARGET): $(SDLMAIN_OBJECTS)