From a85a6ce90990936703e54f083cd4cb002279f294 Mon Sep 17 00:00:00 2001 From: Babak Farrokhi Date: Mon, 26 Oct 2015 22:49:34 +0330 Subject: [PATCH] - Improve Makefile --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 9e03b37..6bf7253 100644 --- a/Makefile +++ b/Makefile @@ -1,9 +1,9 @@ -PREFIX?=/usr/local -INC=-I$(PREFIX)/include -LIB=-L$(PREFIX)/lib -CFLAGS=-Wall -Wextra -g -O2 -pipe -funroll-loops -ffast-math -fno-strict-aliasing CC?=cc -AR?=ar +PREFIX?=/usr/local +CPPFLAGS=-I$(PREFIX)/include +LDFLAGS=-L$(PREFIX)/lib +CFLAGS=-Wall -Wextra -g -O2 -pipe -funroll-loops -ffast-math -fno-strict-aliasing +CFLAGS+=$(CPPFLAGS) RANLIB?=ranlib LIBPIDUTIL = libpidutil.a