mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Split CLEANFILES variable into CLEANSUFFIXES and LIBSUFFIXES.
Originally committed as revision 12799 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
77405bb879
commit
d4210e2a4b
@ -65,8 +65,8 @@ checkheaders: $(filter-out %_template.ho,$(ALLHEADERS:.h=.ho))
|
||||
DEPS := $(OBJS:.o=.d)
|
||||
depend dep: $(DEPS)
|
||||
|
||||
CLEANFILES += *.o *~ *.a *.lib *.so *.so.* *.dylib *.dll \
|
||||
*.def *.dll.a *.exp *.ho *.map
|
||||
CLEANSUFFIXES = *.o *~ *.ho
|
||||
LIBSUFFIXES = *.a *.lib *.so *.so.* *.dylib *.dll *.def *.dll.a *.exp *.map
|
||||
|
||||
define RULES
|
||||
$(SUBDIR)%: $(SUBDIR)%.o $(LIBNAME)
|
||||
@ -76,7 +76,7 @@ $(SUBDIR)%-test$(EXESUF): $(SUBDIR)%.c $(LIBNAME)
|
||||
$(CC) $(CFLAGS) $(FFLDFLAGS) -DTEST -o $$@ $$^ $(FFEXTRALIBS)
|
||||
|
||||
clean::
|
||||
rm -f $(TESTS) $(addprefix $(SUBDIR),$(CLEANFILES))
|
||||
rm -f $(TESTS) $(addprefix $(SUBDIR),$(CLEANFILES) $(CLEANSUFFIXES) $(LIBSUFFIXES))
|
||||
|
||||
distclean:: clean
|
||||
rm -f $(DEPS)
|
||||
|
Loading…
Reference in New Issue
Block a user