mirror of
https://github.com/mpv-player/mpv
synced 2024-12-28 06:03:45 +01:00
Merge now redundant clean and distclean rules into the top-level Makefile.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26583 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
d90a7e0283
commit
75e96820c4
7
Makefile
7
Makefile
@ -640,7 +640,8 @@ PARTS = libavcodec \
|
||||
libpostproc \
|
||||
libswscale \
|
||||
|
||||
DIRS = dvdread \
|
||||
DIRS = . \
|
||||
dvdread \
|
||||
gui \
|
||||
gui/mplayer \
|
||||
gui/mplayer/gtk \
|
||||
@ -810,14 +811,14 @@ uninstall:
|
||||
fi ; \
|
||||
done
|
||||
|
||||
clean:: toolsclean
|
||||
clean: toolsclean
|
||||
-rm -f mplayer$(EXESUF) mencoder$(EXESUF) codec-cfg$(EXESUF) \
|
||||
codecs2html$(EXESUF) codec-cfg-test$(EXESUF) cpuinfo$(EXESUF) \
|
||||
codecs.conf.h help_mp.h version.h TAGS tags $(VIDIX_PCI_FILES)
|
||||
for part in $(PARTS); do $(MAKE) -C $$part clean; done
|
||||
rm -f $(foreach dir,$(DIRS),$(foreach suffix,/*.o /*.ho /*~, $(addsuffix $(suffix),$(dir))))
|
||||
|
||||
distclean:: doxygen_clean
|
||||
distclean: clean doxygen_clean
|
||||
for part in $(PARTS); do $(MAKE) -C $$part distclean; done
|
||||
-rm -f configure.log config.mak config.h
|
||||
rm -f $(foreach dir,$(DIRS),$(foreach suffix,/*.d, $(addsuffix $(suffix),$(dir))))
|
||||
|
@ -23,12 +23,6 @@ $(LIBNAME_COMMON) $(LIBNAME_MPLAYER) $(LIBNAME_MENCODER):
|
||||
$(AR) r $@ $^
|
||||
$(RANLIB) $@
|
||||
|
||||
clean::
|
||||
rm -f *.o *.a *.ho *~
|
||||
|
||||
distclean:: clean
|
||||
rm -f *.d test test2
|
||||
|
||||
%.d: %.c
|
||||
$(MPDEPEND_CMD) > $@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user