From 34094b63cf103ff1a22df44aa2c7439c5b23ba1b Mon Sep 17 00:00:00 2001 From: Aaron Taylor Date: Sat, 5 Oct 2019 00:09:33 -0700 Subject: [PATCH] Minor changes to Makefile. (add 'install' hook, clean up flags, etc) --- Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 0142f6e..4ce49cb 100644 --- a/Makefile +++ b/Makefile @@ -1,16 +1,16 @@ -# © 2018 Aaron Taylor +# © 2019 Aaron Taylor # See LICENSE file for copyright and license details. #################################################################################################### # Executables -CC = cc +CC = cc #################################################################################################### # Configuration -CC_FLAGS = -fPIC -Wall -pedantic -O2 -SRC_FILES = icmpmonitor.c iniparser/dictionary.c iniparser/iniparser.c +CC_FLAGS = -Wall -pedantic -O2 +SRC_FILES = icmpmonitor.c iniparser/dictionary.c iniparser/iniparser.c #################################################################################################### # Targets @@ -22,3 +22,6 @@ icmpmonitor: clean: @rm -f icmpmonitor icmpmonitor.core + +install: all + @echo "Manually copy the 'icmpmonitor' binary where you please." -- 2.20.1