Author: diego Date: Thu Mar 15 00:37:48 2007 New Revision: 22589 Modified: trunk/libdha/Makefile Log: Add pci_names.c as prerequisite of the all target instead of the .o files. Modified: trunk/libdha/Makefile ============================================================================== --- trunk/libdha/Makefile (original) +++ trunk/libdha/Makefile Thu Mar 15 00:37:48 2007 @@ -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 $<