summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2004-03-26 20:31:05 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2004-03-26 20:31:05 +0000
commit46727c74964faa1e165be81cdbe61c6dbd105b4c (patch)
treec0e829cd551c8c77395dd79249fdb89dbcdfdaa9 /src
parent7a5eb9a7606bd951cb9cba56b0ff96c121084d44 (diff)
Tweaks for make clean / realclean.
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 ; \