diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-04-13 10:09:47 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-04-13 10:09:47 +0000 |
commit | adc393503fa001c0f3d72bc859d4a75e34f48a6c (patch) | |
tree | 5e94815cfc00659d49b32f6b48bb27e3d22e25ae /common.mak | |
parent | d4210e2a4b3ffd258ba6fa193116d2b8bf275832 (diff) | |
download | ffmpeg-adc393503fa001c0f3d72bc859d4a75e34f48a6c.tar.gz |
Generate the list of files to clean in subdirectories in common.mak.
This way, it can be used from all directories.
Originally committed as revision 12800 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'common.mak')
-rw-r--r-- | common.mak | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common.mak b/common.mak index 12f91066b6..a7d41048ae 100644 --- a/common.mak +++ b/common.mak @@ -76,7 +76,8 @@ $(SUBDIR)%-test$(EXESUF): $(SUBDIR)%.c $(LIBNAME) $(CC) $(CFLAGS) $(FFLDFLAGS) -DTEST -o $$@ $$^ $(FFEXTRALIBS) clean:: - rm -f $(TESTS) $(addprefix $(SUBDIR),$(CLEANFILES) $(CLEANSUFFIXES) $(LIBSUFFIXES)) + rm -f $(TESTS) $(addprefix $(SUBDIR),$(CLEANFILES) $(CLEANSUFFIXES) $(LIBSUFFIXES)) \ + $(addprefix $(SUBDIR), $(foreach suffix,$(CLEANSUFFIXES),$(addsuffix /$(suffix),$(DIRS)))) distclean:: clean rm -f $(DEPS) |