summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ac72595..1232fee 100644
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,8 @@ CFLAGS += -Wall
CVETEST := cve-2016-3712
PCITEST := cve-2017-2615 cve-2017-2620
USBTEST := cve-2017-5898
-TARGETS := $(CVETEST) $(PCITEST) $(USBTEST)
+RAWTEST := boot-cve-2017-13672.raw boot-cve-2017-13673.raw
+TARGETS := $(CVETEST) $(PCITEST) $(USBTEST) $(RAWTEST)
DEPENDS := libpci libusb-1.0
$(PCITEST) : CFLAGS += $(shell pkg-config --cflags libpci)
@@ -40,6 +41,9 @@ clean:
rm -f $(TARGETS)
rm -f *~ *.o
+boot-%.raw: boot-%.asm
+ nasm -o $@ $<
+
cve-2017-2615: cve-2017-2615.o pci.o cirrus.o
cve-2017-2620: cve-2017-2620.o pci.o cirrus.o
cve-2017-5898: cve-2017-5898.o usb.o