summaryrefslogtreecommitdiff
path: root/src/glut
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-10-03 14:03:14 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-10-03 14:03:14 +0000
commit5fd77da4f691ee7ace6dfa9d2ff49535899f895d (patch)
treec52e3f60e727159b9c70cca887f5b9b181e8327d /src/glut
parent7d8eb0604ab8b59bea5977741729e719f7327363 (diff)
improved 'clean' targets (Otto Solares)
Diffstat (limited to 'src/glut')
-rw-r--r--src/glut/mini/Makefile.X116
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glut/mini/Makefile.X11 b/src/glut/mini/Makefile.X11
index 097a665e4e..bbdc6a690c 100644
--- a/src/glut/mini/Makefile.X11
+++ b/src/glut/mini/Makefile.X11
@@ -52,7 +52,7 @@ targets: depend libglut.so.3.7 install
libglut.so.3.7: $(OBJS) Makefile.X11
gcc -shared -Wl,-soname,libglut.so -Wl,-Bsymbolic $(OBJS) $(LIBS) -o $@
-install:
+install: libglut.so.3.7
rm -f $(TOP)/lib/libglut.so*
install -D libglut.so.3.7 $(TOP)/lib/libglut.so.3.7
ln -s libglut.so.3.7 $(TOP)/lib/libglut.so.3
@@ -70,8 +70,8 @@ tags:
# Remove .o and backup files
-clean:
- -rm -f *.o *~ *.o *~ *.so
+clean: depend
+ -rm -f *.o *~ *.o *~ *.so libglut.so.3.7
include $(TOP)/Make-config