summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--isys/pci/Makefile10
-rw-r--r--isys/pci/pciprobe.c (renamed from isys/pci/pp.c)0
2 files changed, 7 insertions, 3 deletions
diff --git a/isys/pci/Makefile b/isys/pci/Makefile
index 877b20592..43f9da827 100644
--- a/isys/pci/Makefile
+++ b/isys/pci/Makefile
@@ -2,10 +2,14 @@ CFLAGS = -Wall -g -DTESTING
LOADLIBES = -lpci
LDFLAGS = -g
-all: pp
+all: testprobe
-pp: pp.o
+libpciprobe.a: libpciprobe.a(pciprobe.o)
+testprobe: libpciprobe.a pciprobe.c
+ $(CC) $(CFLAGS) $(LDFLAGS) -DTESTING pciprobe.c -o testprobe $(LOADLIBES)
+
clean:
- rm -f *.o pp
+ rm -f *.o testprobe *.a core
+
diff --git a/isys/pci/pp.c b/isys/pci/pciprobe.c
index 0a85285ad..0a85285ad 100644
--- a/isys/pci/pp.c
+++ b/isys/pci/pciprobe.c