summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 05b84cd..af9d16c 100644
--- a/Makefile
+++ b/Makefile
@@ -3,14 +3,17 @@ CC ?= gcc
CFLAGS ?= -Os -g
CFLAGS += -Wall
-SOURCES := $(wildcard *.c)
-TARGETS := $(patsubst %.c,%,$(SOURCES))
+CVETEST := cve-2016-3712
+PCITEST := cve-2017-2615
+TARGETS := $(CVETEST) $(PCITEST)
-cve-2017-2615 : CFLAGS += $(shell pkg-config --cflags libpci)
-cve-2017-2615 : LDLIBS += $(shell pkg-config --libs libpci)
+$(PCITEST) : CFLAGS += $(shell pkg-config --cflags libpci)
+$(PCITEST) : LDLIBS += $(shell pkg-config --libs libpci)
all: $(TARGETS)
clean:
rm -f $(TARGETS)
rm -f *~ *.o
+
+cve-2017-2615: cve-2017-2615.o pci.o cirrus.o