summaryrefslogtreecommitdiffstats
path: root/libdha
diff options
context:
space:
mode:
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 $<