# HG changeset patch # User diego # Date 1209389316 0 # Node ID d572ecfb34aeda15711d02ae01ccfeaecaec4acd # Parent 1b05ff23d5724764bf63078a56ca2bc05f1d36f2 Make sure all autogenerated .h and .c files exist in the vidix subdirectory before trying to create object or dependency files there. diff -r 1b05ff23d572 -r d572ecfb34ae Makefile --- a/Makefile Mon Apr 28 13:07:01 2008 +0000 +++ b/Makefile Mon Apr 28 13:28:36 2008 +0000 @@ -713,7 +713,10 @@ $(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 @@ toolsclean: rm -f $(ALLTOOLS) TOOLS/fastmem*-* TOOLS/realcodecs/*.so.6.0 --include $(DEPS) +#-include $(DEPS) .PHONY: all doxygen *install* recurse strip *tools