- add Makefile

This commit is contained in:
Babak Farrokhi 2015-09-12 18:54:31 +04:30
parent 5196635421
commit 665718aa40

14
Makefile Normal file
View File

@ -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