aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/mga
diff options
context:
space:
mode:
authorJon Smirl <[email protected]>2003-10-20 02:17:32 +0000
committerJon Smirl <[email protected]>2003-10-20 02:17:32 +0000
commit3e4a50f0d28f90791f1c2eec2ece660c53dd4845 (patch)
tree75103774908193874221a09dfefc744448147b02 /src/mesa/drivers/dri/mga
parent0f85b91c8ace21c25329b455e041bb39218c812f (diff)
Fix Makefiles to copy lib to $(TOP)/lib if missing
Diffstat (limited to 'src/mesa/drivers/dri/mga')
-rw-r--r--src/mesa/drivers/dri/mga/Makefile.X116
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/mga/Makefile.X11 b/src/mesa/drivers/dri/mga/Makefile.X11
index 4f20c7a8331..f816616f2cf 100644
--- a/src/mesa/drivers/dri/mga/Makefile.X11
+++ b/src/mesa/drivers/dri/mga/Makefile.X11
@@ -1,4 +1,4 @@
-# $Id: Makefile.X11,v 1.3 2003/08/24 04:44:23 jonsmirl Exp $
+# $Id: Makefile.X11,v 1.4 2003/10/20 02:17:33 jonsmirl Exp $
# Mesa 3-D graphics library
# Version: 5.0
@@ -99,6 +99,10 @@ mga_dri.so: $(OBJECTS) $(MESA_MODULES) $(WINOBJ) Makefile.X11
rm -f $(TOP)/lib/mga_dri.so && \
install mga_dri.so $(TOP)/lib/mga_dri.so
+$(TOP)/lib/mga_dri.so: mga_dri.so
+ rm -f $(TOP)/lib/mga_dri.so && \
+ install mga_dri.so $(TOP)/lib/mga_dri.so
+
# Run 'make -f Makefile.X11 dep' to update the dependencies if you change
# what's included by any source file.
depend: $(C_SOURCES) $(ASM_SOURCES)