- now depend on libpidutil [1] instead of FreeBSD specific libutil

- cleanup Makefile and respect PREFIX
- now builds on OS X on which clock_gettime() is not implemented
This commit is contained in:
2015-10-21 11:29:05 +03:30
parent 01d25ecb39
commit 1fb260d101
2 changed files with 27 additions and 4 deletions

View File

@ -1,7 +1,7 @@
PREFIX=/usr/local
PREFIX?=/usr/local
INC=-I$(PREFIX)/include
LIB=-L$(PREFIX)/lib -lutil
FLAGS=-Wall -O2 -pipe -funroll-loops -ffast-math -fno-strict-aliasing -mssse3
LIB=-L$(PREFIX)/lib -lpidutil
FLAGS=-Wall -Wextra -O2 -pipe -funroll-loops -ffast-math -fno-strict-aliasing -mssse3
CC?=cc
all: ifstatd_