changeset 2151:1e0692271600

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:35:40 +0000
parents abbe2c1dcf0a
children 003c1b5b07da
files Makefile.in
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in	Thu Jul 05 06:14:26 2007 +0000
+++ b/Makefile.in	Thu Jul 05 06:35:40 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)