- add Makefile
This commit is contained in:
parent
5196635421
commit
665718aa40
14
Makefile
Normal file
14
Makefile
Normal 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
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user