fsipd/Makefile

17 lines
335 B
Makefile
Raw Normal View History

2015-10-12 19:37:46 +03:30
PREFIX?=/usr/local
2015-09-16 11:29:27 +04:30
INC=-I$(PREFIX)/include
LIB=-L$(PREFIX)/lib -lpidutil
CFLAGS=-Wall -Wextra -g -O2 -pipe -funroll-loops -ffast-math -fno-strict-aliasing
2015-09-16 11:29:27 +04:30
CC?=cc
PROGS = fsipd
2015-09-16 11:29:27 +04:30
all: $(PROGS)
2015-09-16 11:29:27 +04:30
fsipd: fsipd.c
$(CC) $(CFLAGS) $(INC) $(LIB) fsipd.c -o fsipd
2015-09-16 11:29:27 +04:30
clean:
rm -f *.o *.a a.out core temp.* $(LIBPIDFILE) $(PROGS)
2015-10-21 09:39:24 +03:30
rm -fr *.dSYM