From 61c61e09f9aa9bf891ce630156fbbb6c52b57ea1 Mon Sep 17 00:00:00 2001 From: Mikhail Klementev Date: Sun, 7 Oct 2018 17:30:13 +0000 Subject: [PATCH] Fix variable names --- examples/kernel-exploit/Makefile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/examples/kernel-exploit/Makefile b/examples/kernel-exploit/Makefile index 93b5369..e220d6e 100644 --- a/examples/kernel-exploit/Makefile +++ b/examples/kernel-exploit/Makefile @@ -10,16 +10,14 @@ # # e.g.: # make KERNEL=/lib/modules/4.8.0-58-generic/build \ -# TARGET_EXPLOIT=nyan-exploit \ -# TARGET_TEST=nyan-exploit-test +# TARGET=nyan-exploit \ # VMLINUZ=/boot/vmlinuz-4.8.0-58-generic -TARGET_EXPLOIT := CVE-2016-5195 +TARGET := CVE-2016-5195 all: - gcc CVE-2016-5195.c -o $(TARGET_EXPLOIT) - gcc CVE-2016-5195_test.c -o $(TARGET_EXPLOIT)_test + gcc CVE-2016-5195.c -o $(TARGET) + gcc CVE-2016-5195_test.c -o $(TARGET)_test clean: - rm -f $(TARGET_EXPLOIT) - rm -f $(TARGET_TEST) + rm -f $(TARGET) $(TARGET)_test