Browse Source

Remove all dependency files on distclean.

Originally committed as revision 12802 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Diego Biurrun 18 years ago
parent
commit
95d2afec0f
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      common.mak

+ 3
- 1
common.mak View File

@@ -67,6 +67,7 @@ depend dep: $(DEPS)

CLEANSUFFIXES = *.o *~ *.ho
LIBSUFFIXES = *.a *.lib *.so *.so.* *.dylib *.dll *.def *.dll.a *.exp *.map
DISTCLEANSUFFIXES = *.d

define RULES
$(SUBDIR)%: $(SUBDIR)%.o $(LIBNAME)
@@ -80,7 +81,8 @@ clean::
$(addprefix $(SUBDIR), $(foreach suffix,$(CLEANSUFFIXES),$(addsuffix /$(suffix),$(DIRS))))

distclean:: clean
rm -f $(DEPS)
rm -f $(addprefix $(SUBDIR),$(DISTCLEANSUFFIXES)) \
$(addprefix $(SUBDIR), $(foreach suffix,$(DISTCLEANSUFFIXES),$(addsuffix /$(suffix),$(DIRS))))
endef

$(eval $(RULES))


Loading…
Cancel
Save