mirror of
https://github.com/mpv-player/mpv
synced 2024-12-14 10:55:43 +00:00
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
This commit is contained in:
parent
9dc0eed5b7
commit
c27848dddf
@ -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 $<
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user