Fixed bug #436 SDL-1.2
authorSam Lantinga <slouken@libsdl.org>
Thu, 05 Jul 2007 06:34:51 +0000
branchSDL-1.2
changeset 4006 2c66ac13144f
parent 4005 fb74445b4d19
child 4007 4e4866a72905
Fixed bug #436 The install-lib target should depend on the libraries that are built.
Makefile.in
--- 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)