comparison Makefile @ 30174:84f7e547aaf2

Invoke pci_db2c.awk as an argument to awk instead of letting the shell run it. The shell looks for awk in /usr/bin, the path from the shebang line. However, there exist systems with awk in /bin, namely archlinux.
author diego
date Mon, 04 Jan 2010 21:22:33 +0000
parents fbff89bae6a4
children 48d020c5ceca
comparison
equal deleted inserted replaced
30173:e11d2e31353c 30174:84f7e547aaf2
899 899
900 VIDIX_PCI_FILES = vidix/pci_dev_ids.c vidix/pci_ids.h vidix/pci_names.c \ 900 VIDIX_PCI_FILES = vidix/pci_dev_ids.c vidix/pci_ids.h vidix/pci_names.c \
901 vidix/pci_vendors.h 901 vidix/pci_vendors.h
902 902
903 $(VIDIX_PCI_FILES): vidix/pci_db2c.awk vidix/pci.db 903 $(VIDIX_PCI_FILES): vidix/pci_db2c.awk vidix/pci.db
904 $^ $(VIDIX_PCIDB) 904 awk -f $^ $(VIDIX_PCIDB)
905 905
906 VIDIX_DEPS = $(filter vidix/%,$(SRCS_MPLAYER:.c=.d)) 906 VIDIX_DEPS = $(filter vidix/%,$(SRCS_MPLAYER:.c=.d))
907 VIDIX_OBJS = $(filter vidix/%,$(SRCS_MPLAYER:.c=.o)) 907 VIDIX_OBJS = $(filter vidix/%,$(SRCS_MPLAYER:.c=.o))
908 908
909 $(VIDIX_DEPS) $(VIDIX_OBJS): $(VIDIX_PCI_FILES) 909 $(VIDIX_DEPS) $(VIDIX_OBJS): $(VIDIX_PCI_FILES)