summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r128
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/r128
parent0f85b91c8ace21c25329b455e041bb39218c812f (diff)
Fix Makefiles to copy lib to $(TOP)/lib if missing
Diffstat (limited to 'src/mesa/drivers/dri/r128')
-rw-r--r--src/mesa/drivers/dri/r128/Makefile.X116
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r128/Makefile.X11 b/src/mesa/drivers/dri/r128/Makefile.X11
index 8ae146af915..7265affcc6c 100644
--- a/src/mesa/drivers/dri/r128/Makefile.X11
+++ b/src/mesa/drivers/dri/r128/Makefile.X11
@@ -1,4 +1,4 @@
-# $Id: Makefile.X11,v 1.1 2003/08/22 20:11:44 brianp Exp $
+# $Id: Makefile.X11,v 1.2 2003/10/20 02:17:33 jonsmirl Exp $
# Mesa 3-D graphics library
# Version: 5.0
@@ -94,6 +94,10 @@ r128_dri.so: $(OBJECTS) $(MESA_MODULES) $(WINOBJ) Makefile.X11
rm -f $(TOP)/lib/r128_dri.so && \
install r128_dri.so $(TOP)/lib/r128_dri.so
+$(TOP)/lib/r128_dri.so: r128_dri.so
+ rm -f $(TOP)/lib/r128_dri.so && \
+ install r128_dri.so $(TOP)/lib/r128_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)