summaryrefslogtreecommitdiffstats
path: root/libdha
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-14 23:37:48 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-14 23:37:48 +0000
commitc27848dddf58c31c1567e7f3ec9a0fec9a262804 (patch)
tree0432b245f98d2f3be00c3511ddbd71ac3a3680c6 /libdha
parent9dc0eed5b7b6c40d1e6cf148b7cc1bf2e01c4fbd (diff)
downloadmpv-c27848dddf58c31c1567e7f3ec9a0fec9a262804.tar.bz2
mpv-c27848dddf58c31c1567e7f3ec9a0fec9a262804.tar.xz
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
Diffstat (limited to 'libdha')
-rw-r--r--libdha/Makefile5
1 files changed, 1 insertions, 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 $<