ifstatd/Makefile
Babak Farrokhi 1fb260d101 - 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
2015-10-21 11:29:05 +03:30

15 lines
290 B
Makefile

PREFIX?=/usr/local
INC=-I$(PREFIX)/include
LIB=-L$(PREFIX)/lib -lpidutil
FLAGS=-Wall -Wextra -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_