0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00

Remove code for .depend generation, inclusion and related hacks.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26581 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2008-04-28 15:42:36 +00:00
parent d73a7beb00
commit d4f42c4d46
2 changed files with 1 additions and 13 deletions

View File

@ -678,9 +678,6 @@ all: $(ALL_PRG)
recurse:
for part in $(PARTS); do $(MAKE) -C $$part; done
# Hack to keep .depend from being generated at the top level unnecessarily.
DEPS = foo
include mpcommon.mak
DEPS = $(filter-out %.S,$(patsubst %.cpp,%.d,$(patsubst %.c,%.d,$(SRCS_COMMON) $(SRCS_MPLAYER:.m=.d) $(SRCS_MENCODER))))

View File

@ -27,10 +27,7 @@ clean::
rm -f *.o *.a *.ho *~
distclean:: clean
rm -f *.d .depend test test2
.depend: $(SRCS_COMMON) $(SRCS_MPLAYER) $(SRCS_MENCODER)
$(MPDEPEND_CMD) > $@
rm -f *.d test test2
%.d: %.c
$(MPDEPEND_CMD) > $@
@ -50,10 +47,4 @@ distclean:: clean
ALLHEADERS = $(wildcard *.h)
checkheaders: $(ALLHEADERS:.h=.ho)
# Hack to keep .depend from being generated at the top level unnecessarily.
ifndef DEPS
DEPS = .depend
endif
-include $(DEPS)
.PHONY: libs *clean dep depend