From 665718aa40efb06c732e6b7ef6bd86f1b4219fa4 Mon Sep 17 00:00:00 2001 From: Babak Farrokhi Date: Sat, 12 Sep 2015 18:54:31 +0430 Subject: [PATCH] - add Makefile --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..4623acd --- /dev/null +++ b/Makefile @@ -0,0 +1,14 @@ +PREFIX=/usr/local +INC=-I$(PREFIX)/include +LIB=-L$(PREFIX)/lib +FLAGS=-O2 -pipe -funroll-loops -ffast-math -fno-strict-aliasing -mssse3 +CC?=cc + +all: ifstatd + +ifstatd: ifstatd.c Makefile + $(CC) $(FLAGS) $(INC) $(LIB) ifstatd.c -o ifstatd + +clean: + rm -f ifstatd +