Fixed bug #436
authorSam Lantinga <slouken@libsdl.org>
Thu, 05 Jul 2007 06:35:40 +0000
changeset 2151 1e0692271600
parent 2150 abbe2c1dcf0a
child 2152 003c1b5b07da
Fixed bug #436 The install-lib target should depend on the libraries that are built.
Makefile.in
--- 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)