changeset 4006:2c66ac13144f SDL-1.2

Fixed bug #436 The install-lib target should depend on the libraries that are built.
author Sam Lantinga <slouken@libsdl.org>
date Thu, 05 Jul 2007 06:34:51 +0000
parents fb74445b4d19
children 4e4866a72905
files Makefile.in
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in	Thu Jul 05 04:53:36 2007 +0000
+++ b/Makefile.in	Thu Jul 05 06:34:51 2007 +0000
@@ -90,7 +90,7 @@
 	    $(INSTALL) -m 644 $(srcdir)/include/$$file $(includedir)/SDL/$$file; \
 	done
 	$(INSTALL) -m 644 include/SDL_config.h $(includedir)/SDL/SDL_config.h
-install-lib:
+install-lib: $(objects) $(objects)/$(TARGET) $(objects)/$(SDLMAIN_TARGET)
 	$(SHELL) $(auxdir)/mkinstalldirs $(libdir)
 	$(LIBTOOL) --mode=install $(INSTALL) $(objects)/$(TARGET) $(libdir)/$(TARGET)
 	$(INSTALL) -m 644 $(objects)/$(SDLMAIN_TARGET) $(libdir)/$(SDLMAIN_TARGET)