summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index af9d16c..afb1f89 100644
--- a/Makefile
+++ b/Makefile
@@ -5,11 +5,15 @@ CFLAGS += -Wall
CVETEST := cve-2016-3712
PCITEST := cve-2017-2615
-TARGETS := $(CVETEST) $(PCITEST)
+USBTEST := cve-2017-5898
+TARGETS := $(CVETEST) $(PCITEST) $(USBTEST)
$(PCITEST) : CFLAGS += $(shell pkg-config --cflags libpci)
$(PCITEST) : LDLIBS += $(shell pkg-config --libs libpci)
+$(USBTEST) : CFLAGS += $(shell pkg-config --cflags libusb-1.0)
+$(USBTEST) : LDLIBS += $(shell pkg-config --libs libusb-1.0)
+
all: $(TARGETS)
clean:
@@ -17,3 +21,4 @@ clean:
rm -f *~ *.o
cve-2017-2615: cve-2017-2615.o pci.o cirrus.o
+cve-2017-5898: cve-2017-5898.o usb.o