Commit d4210e2a authored by Diego Biurrun's avatar Diego Biurrun

Split CLEANFILES variable into CLEANSUFFIXES and LIBSUFFIXES.

Originally committed as revision 12799 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 77405bb8
...@@ -65,8 +65,8 @@ checkheaders: $(filter-out %_template.ho,$(ALLHEADERS:.h=.ho)) ...@@ -65,8 +65,8 @@ checkheaders: $(filter-out %_template.ho,$(ALLHEADERS:.h=.ho))
DEPS := $(OBJS:.o=.d) DEPS := $(OBJS:.o=.d)
depend dep: $(DEPS) depend dep: $(DEPS)
CLEANFILES += *.o *~ *.a *.lib *.so *.so.* *.dylib *.dll \ CLEANSUFFIXES = *.o *~ *.ho
*.def *.dll.a *.exp *.ho *.map LIBSUFFIXES = *.a *.lib *.so *.so.* *.dylib *.dll *.def *.dll.a *.exp *.map
define RULES define RULES
$(SUBDIR)%: $(SUBDIR)%.o $(LIBNAME) $(SUBDIR)%: $(SUBDIR)%.o $(LIBNAME)
...@@ -76,7 +76,7 @@ $(SUBDIR)%-test$(EXESUF): $(SUBDIR)%.c $(LIBNAME) ...@@ -76,7 +76,7 @@ $(SUBDIR)%-test$(EXESUF): $(SUBDIR)%.c $(LIBNAME)
$(CC) $(CFLAGS) $(FFLDFLAGS) -DTEST -o $$@ $$^ $(FFEXTRALIBS) $(CC) $(CFLAGS) $(FFLDFLAGS) -DTEST -o $$@ $$^ $(FFEXTRALIBS)
clean:: clean::
rm -f $(TESTS) $(addprefix $(SUBDIR),$(CLEANFILES)) rm -f $(TESTS) $(addprefix $(SUBDIR),$(CLEANFILES) $(CLEANSUFFIXES) $(LIBSUFFIXES))
distclean:: clean distclean:: clean
rm -f $(DEPS) rm -f $(DEPS)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment