From 7867e610b5cffd2c0749703eca1333bdd7840824 Mon Sep 17 00:00:00 2001 From: van Hauser Date: Thu, 1 Mar 2018 13:20:26 +0100 Subject: added -S switch, make install, updated README --- Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 9685c96..25ef545 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,9 @@ AFL_ROOT = ./afl # path to libelf and libdwarf DEPS_ROOT = /usr/local +# where to install +INSTALL_ROOT = /usr/local + CXX = g++ CXXFLAGS = -g -Wall -O3 -std=c++11 LIBFLAGS = -fpic -shared @@ -33,3 +36,9 @@ afl-dyninst.o: afl-dyninst.cpp clean: rm -f afl-dyninst *.so *.o + +install: all + install -d $(INSTALL_ROOT)/bin + install -d $(INSTALL_ROOT)/lib + install afl-dyninst $(INSTALL_ROOT)/bin + install libAflDyninst.so $(INSTALL_ROOT)/lib -- cgit 1.4.1