diff options
author | Diego Biurrun <diego@biurrun.de> | 2006-01-16 14:59:54 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-01-16 14:59:54 +0000 |
commit | 98013cc16cc88c49c83887ddcd6c5ba4ae549dbb (patch) | |
tree | 035ec03a1005023c6fc8fa203580b9f1bfb4cf6e /Makefile | |
parent | d3c71c500225e3ad8ac9927f51f65ea0300d7558 (diff) | |
download | ffmpeg-98013cc16cc88c49c83887ddcd6c5ba4ae549dbb.tar.gz |
Make clean/distclean consistent throughout all the Makefiles.
Originally committed as revision 4863 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -43,7 +43,6 @@ endif ifeq ($(BUILD_VHOOK),yes) VHOOK=videohook INSTALLVHOOK=install-vhook -CLEANVHOOK=clean-vhook endif ifeq ($(TARGET_OS), SunOS) @@ -151,21 +150,23 @@ endif @test -f .libs || touch .libs @for i in $(DEP_LIBS) ; do if $(TEST) $$i -nt .libs ; then touch .libs; fi ; done -clean: $(CLEANVHOOK) +clean: $(MAKE) -C libavutil clean $(MAKE) -C libavcodec clean $(MAKE) -C libavformat clean $(MAKE) -C tests clean - rm -f *.o *.d *~ .libs .depend gmon.out TAGS ffmpeg_g$(EXESUF) \ - ffplay_g$(EXESUF) $(PROG) $(PROGTEST) $(QTFASTSTART) - -clean-vhook: $(MAKE) -C vhook clean + rm -f *.o *.d *~ .libs gmon.out TAGS \ + $(PROG) $(PROGTEST) $(QTFASTSTART) # Note well: config.log is NOT removed. distclean: clean - $(MAKE) -C libavcodec distclean - rm -f config.mak config.h *.pc + $(MAKE) -C libavutil distclean + $(MAKE) -C libavcodec distclean + $(MAKE) -C libavformat distclean + $(MAKE) -C tests distclean + $(MAKE) -C vhook distclean + rm -f Makefile.bak .depend config.mak config.h *.pc TAGS: etags *.[ch] libavformat/*.[ch] libavcodec/*.[ch] |