summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-04-28 13:28:36 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-04-28 13:28:36 +0000
commit558e30b12c85b2915c1f23801c51123ea3548808 (patch)
treec9de951c758e0a7a0527a5a47216e223bf53ba90 /Makefile
parent9a885b71aaeeb15d1bbe88afd536c5dbc63c9303 (diff)
downloadmpv-558e30b12c85b2915c1f23801c51123ea3548808.tar.bz2
mpv-558e30b12c85b2915c1f23801c51123ea3548808.tar.xz
Make sure all autogenerated .h and .c files exist in the vidix subdirectory
before trying to create object or dependency files there. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26571 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f4937b0982..df7bed1215 100644
--- a/Makefile
+++ b/Makefile
@@ -713,7 +713,10 @@ VIDIX_PCI_FILES = vidix/pci_dev_ids.c vidix/pci_ids.h vidix/pci_names.c \
$(VIDIX_PCI_FILES): vidix/pci.db
LC_ALL=C awk -f vidix/pci_db2c.awk $< $(VIDIX_PCIDB)
-vidix/%.o vidix/%.d: $(VIDIX_PCI_FILES)
+VIDIX_DEPS = $(filter vidix/%,$(SRCS_MPLAYER:.c=.d))
+VIDIX_OBJS = $(filter vidix/%,$(SRCS_MPLAYER:.c=.o))
+
+$(VIDIX_DEPS) $(VIDIX_OBJS): $(VIDIX_PCI_FILES)
liba52/test: liba52/test.c cpudetect.o $(filter liba52/%,$(SRCS_COMMON:.c=.o))
@@ -900,6 +903,6 @@ TOOLS/netstream$(EXESUF): TOOLS/netstream.o $(NETSTREAM_DEPS)
toolsclean:
rm -f $(ALLTOOLS) TOOLS/fastmem*-* TOOLS/realcodecs/*.so.6.0
--include $(DEPS)
+#-include $(DEPS)
.PHONY: all doxygen *install* recurse strip *tools