summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Fonseca <j_r_fonseca@yahoo.co.uk>2003-03-24 10:38:30 +0000
committerJose Fonseca <j_r_fonseca@yahoo.co.uk>2003-03-24 10:38:30 +0000
commita53f53ece3a00e77d448f04410762ced4080fc72 (patch)
treecba0ebe8e89e299773aef7d65cf69eb4a55a3182
parent24812b3eaa433e4474049618cdc1795a3f3d37f0 (diff)
Avoid the mixing of double-colon rules in the Makefiles.
-rw-r--r--progs/samples/Makefile4
-rw-r--r--src/glu/mini/Makefile4
2 files changed, 6 insertions, 2 deletions
diff --git a/progs/samples/Makefile b/progs/samples/Makefile
index a99a3d1c89..99f9bbc1c6 100644
--- a/progs/samples/Makefile
+++ b/progs/samples/Makefile
@@ -23,6 +23,8 @@ PROGS = prim \
default: $(PROGS)
-clean::
+clean: clean_here
+
+clean_here:
rm -f *.o *~ $(PROGS)
diff --git a/src/glu/mini/Makefile b/src/glu/mini/Makefile
index 2303ca8863..69a3f0e538 100644
--- a/src/glu/mini/Makefile
+++ b/src/glu/mini/Makefile
@@ -37,7 +37,9 @@ install:
ln -s libGLU.so.1 $(MESA)/lib/libGLU.so
-clean::
+clean: clean_here
+
+clean_here:
rm -f ../lib/libGLU.so*