From c27848dddf58c31c1567e7f3ec9a0fec9a262804 Mon Sep 17 00:00:00 2001 From: diego Date: Wed, 14 Mar 2007 23:37:48 +0000 Subject: [PATCH] Add pci_names.c as prerequisite of the all target instead of the .o files. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22589 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libdha/Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/libdha/Makefile b/libdha/Makefile index ca7b29b41a..93301a896c 100644 --- a/libdha/Makefile +++ b/libdha/Makefile @@ -40,8 +40,7 @@ ifneq ($(wildcard svgalib_helper),) CFLAGS += -DDEV_SVGA=\"/dev/svga\" -DCONFIG_SVGAHELPER -Isvgalib_helper/ endif -.c.o: pci_names.c - $(CC) -c $(CFLAGS) -o $@ $< +all: pci_names.c $(LIBNAME) $(SHORTNAME) $(LIBNAME): $(OBJS) ifeq ($(TARGET_WIN32),yes) @@ -52,8 +51,6 @@ else ln -sf $@ $(VSHORTNAME) endif -all: $(LIBNAME) $(SHORTNAME) - pci_names.c: oth/pci.db LC_ALL=C $(AWK) -f pci_db2c.awk $<