summaryrefslogtreecommitdiffstats
path: root/src/glu
diff options
context:
space:
mode:
Diffstat (limited to 'src/glu')
-rw-r--r--src/glu/mesa/Makefile.X112
-rw-r--r--src/glu/mini/Makefile.X114
-rw-r--r--src/glu/sgi/Makefile.X116
3 files changed, 6 insertions, 6 deletions
diff --git a/src/glu/mesa/Makefile.X11 b/src/glu/mesa/Makefile.X11
index b50db58c36f..2265620fe6b 100644
--- a/src/glu/mesa/Makefile.X11
+++ b/src/glu/mesa/Makefile.X11
@@ -34,7 +34,7 @@ default:
@echo "Specify a target configuration"
clean:
- -rm *.o *~
+ -rm -f *.o *~
targets: $(LIBDIR)/$(GLU_LIB)
diff --git a/src/glu/mini/Makefile.X11 b/src/glu/mini/Makefile.X11
index d0ef2e50f06..4462d562612 100644
--- a/src/glu/mini/Makefile.X11
+++ b/src/glu/mini/Makefile.X11
@@ -39,7 +39,7 @@ targets: depend libGLU.so.1.1 install
libGLU.so.1.1: $(OBJS) Makefile.X11
gcc -shared -Wl,-soname,libGLU.so -Wl,-Bsymbolic $(OBJS) $(LIBS) -o $@
-install:
+install: libGLU.so.1.1
rm -f $(TOP)/lib/libGLU.so*
install -D libGLU.so.1.1 $(TOP)/lib/libGLU.so.1.1
ln -s libGLU.so.1.1 $(TOP)/lib/libGLU.so.1
@@ -58,7 +58,7 @@ tags:
# Remove .o and backup files
clean:
- -rm -f *.o *~ *.o *~ *.so
+ -rm -f *.o *~ *.o *~ *.so libGLU.so.1.1
include $(TOP)/Make-config
diff --git a/src/glu/sgi/Makefile.X11 b/src/glu/sgi/Makefile.X11
index 76befaa0fa4..7202aa84ffb 100644
--- a/src/glu/sgi/Makefile.X11
+++ b/src/glu/sgi/Makefile.X11
@@ -131,9 +131,9 @@ default:
@echo "Specify a target configuration"
clean:
- -rm *.o */*.o */*/*.o
- -rm *.lo */*.lo */*/*.lo
- -rm *.la */*.la */*/*.la
+ -rm -f *.o */*.o */*/*.o
+ -rm -f *.lo */*.lo */*/*.lo
+ -rm -f *.la */*.la */*/*.la
targets: $(LIBDIR)/$(GLU_LIB)