diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2003-10-03 14:03:14 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2003-10-03 14:03:14 +0000 |
commit | 5fd77da4f691ee7ace6dfa9d2ff49535899f895d (patch) | |
tree | c52e3f60e727159b9c70cca887f5b9b181e8327d /src/glu | |
parent | 7d8eb0604ab8b59bea5977741729e719f7327363 (diff) | |
download | external_mesa3d-5fd77da4f691ee7ace6dfa9d2ff49535899f895d.zip external_mesa3d-5fd77da4f691ee7ace6dfa9d2ff49535899f895d.tar.gz external_mesa3d-5fd77da4f691ee7ace6dfa9d2ff49535899f895d.tar.bz2 |
improved 'clean' targets (Otto Solares)
Diffstat (limited to 'src/glu')
-rw-r--r-- | src/glu/mesa/Makefile.X11 | 2 | ||||
-rw-r--r-- | src/glu/mini/Makefile.X11 | 4 | ||||
-rw-r--r-- | src/glu/sgi/Makefile.X11 | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/src/glu/mesa/Makefile.X11 b/src/glu/mesa/Makefile.X11 index b50db58..2265620 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 d0ef2e5..4462d56 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 76befaa..7202aa8 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) |