- Add basic daemon and Makefile

This commit is contained in:
2015-09-16 11:29:27 +04:30
parent e961bdc683
commit 5d65386edf
2 changed files with 184 additions and 0 deletions

14
Makefile Normal file
View File

@ -0,0 +1,14 @@
PREFIX=/usr/local
INC=-I$(PREFIX)/include
LIB=-L$(PREFIX)/lib -lutil
FLAGS=-Wall -O2 -pipe -funroll-loops -ffast-math -fno-strict-aliasing
CC?=cc
all: fsipd
fsipd: fsipd.c Makefile
$(CC) $(FLAGS) $(INC) $(LIB) fsipd.c -o fsipd
clean:
rm -f fsipd