diff Makefile.in @ 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 9c9c49b18693
children cd041eb7eb4a
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)