This commit is contained in:
2015-10-20 17:09:30 +03:30
3 changed files with 9 additions and 11 deletions

View File

@ -1,7 +1,7 @@
PREFIX=/usr/local
PREFIX?=/usr/local
INC=-I$(PREFIX)/include
LIB=-L$(PREFIX)/lib -L. -lpidfile
CFLAGS=-Wall -g -O2 -pipe -funroll-loops -ffast-math -fno-strict-aliasing
CFLAGS=-Wall -Wextra -g -O2 -pipe -funroll-loops -ffast-math -fno-strict-aliasing
CC?=cc
AR?=AR
RANLIB?=ranlib
@ -20,5 +20,5 @@ fsipd: fsipd.c $(LIBPIDFILE)
$(CC) $(CFLAGS) $(INC) $(LIB) fsipd.c -o fsipd
clean:
rm -f *.o a.out core temp.* $(LIBPIDFILE) $(PROGS)
rm -f *.o *.a a.out core temp.* $(LIBPIDFILE) $(PROGS)
rm -fr *.dSYM