summaryrefslogtreecommitdiffstats
path: root/isys
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-07-01 15:45:41 +0000
committerBill Nottingham <notting@redhat.com>1999-07-01 15:45:41 +0000
commit350484a64a9f23af061cf361b250073573fa2b1c (patch)
tree05fe6dbbcabf1081b5439d3859a49c0265b72524 /isys
parent5f1f6ac61790616230c86102d75cd0f675dbc750 (diff)
downloadanaconda-350484a64a9f23af061cf361b250073573fa2b1c.tar.gz
anaconda-350484a64a9f23af061cf361b250073573fa2b1c.tar.xz
anaconda-350484a64a9f23af061cf361b250073573fa2b1c.zip
makefile changes
Diffstat (limited to 'isys')
-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