From 5fd77da4f691ee7ace6dfa9d2ff49535899f895d Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 3 Oct 2003 14:03:14 +0000 Subject: improved 'clean' targets (Otto Solares) --- src/glu/mesa/Makefile.X11 | 2 +- src/glu/mini/Makefile.X11 | 4 ++-- src/glu/sgi/Makefile.X11 | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/glu') diff --git a/src/glu/mesa/Makefile.X11 b/src/glu/mesa/Makefile.X11 index b50db58c36..2265620fe6 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 d0ef2e50f0..4462d56261 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 76befaa0fa..7202aa84ff 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) -- cgit v1.2.3