[FFmpeg-cvslog] r12802 - trunk/common.mak
diego
subversion
Sun Apr 13 12:23:38 CEST 2008
Author: diego
Date: Sun Apr 13 12:23:38 2008
New Revision: 12802
Log:
Remove all dependency files on distclean.
Modified:
trunk/common.mak
Modified: trunk/common.mak
==============================================================================
--- trunk/common.mak (original)
+++ trunk/common.mak Sun Apr 13 12:23:38 2008
@@ -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))
More information about the ffmpeg-cvslog
mailing list