2015-09-12 18:54:31 +04:30
|
|
|
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
|
2015-09-13 14:21:39 +04:30
|
|
|
$(CC) $(FLAGS) $(INC) $(LIB) ifstatd.c -o ifstatd_
|
2015-09-12 18:54:31 +04:30
|
|
|
|
|
|
|
clean:
|
2015-09-13 14:21:39 +04:30
|
|
|
rm -f ifstatd_
|
2015-09-12 18:54:31 +04:30
|
|
|
|