summaryrefslogtreecommitdiffstats
path: root/isys
diff options
context:
space:
mode:
Diffstat (limited to 'isys')
-rw-r--r--isys/pci/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/isys/pci/Makefile b/isys/pci/Makefile
index e2b1e516a..e1e1d541b 100644
--- a/isys/pci/Makefile
+++ b/isys/pci/Makefile
@@ -1,11 +1,17 @@
-CFLAGS = -Wall
+CFLAGS = -Wall -g
+LOADLIBES = libpciprobe.a
+LDFLAGS = -g
-libpciprobe.a: libpciprobe.a(pciprobe.o)
+all: testprobe
-pciprobe.c: driverlist.h
+libpciprobe.a: libpciprobe.a(pciprobe.o) pcitable
-driverlist.h: pci.ids unsupported kernel video mergeids
+testprobe: testprobe.o libpciprobe.a
+
+pciprobe.c: pciprobe.h
+
+pcitable: pci.ids unsupported kernel video mergeids
./mergeids
clean:
- rm -f driverlist.h pciprobe *.o
+ rm -f driverlist.h pciprobe *.o testprobe *.a