summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/glw/Makefile2
-rw-r--r--src/mesa/Makefile1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/glw/Makefile b/src/glw/Makefile
index d5ec4d9f25..0950e76fd9 100644
--- a/src/glw/Makefile
+++ b/src/glw/Makefile
@@ -27,8 +27,10 @@ default: $(LIB_DIR)/$(GLW_LIB_NAME)
clean:
+ -rm depend
-rm -f *.o *~
+
# Make the library
$(LIB_DIR)/$(GLW_LIB_NAME): $(OBJECTS)
$(TOP)/bin/mklib -o $(GLW_LIB) -major $(MAJOR) -minor $(MINOR) \
diff --git a/src/mesa/Makefile b/src/mesa/Makefile
index e61499609e..a90ac8275a 100644
--- a/src/mesa/Makefile
+++ b/src/mesa/Makefile
@@ -165,6 +165,7 @@ tags:
clean:
-rm -f */*.o
+ rm -f depend
for dir in $(SUBDIRS) ; do \
pushd $$dir ; \
make clean ; \