From 80b891a307af77643dcf699afde846d382e76f6b Mon Sep 17 00:00:00 2001 From: Romain Francoise Date: Sun, 10 Jun 2012 17:42:59 +0200 Subject: Don't overwrite environment CFLAGS, use CPPFLAGS. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7d73dc6..de5b84a 100644 --- a/Makefile +++ b/Makefile @@ -18,13 +18,13 @@ # Generic settings # CC = gcc -CFLAGS = -g -Wall -pedantic -std=c99 -D_FILE_OFFSET_BITS=64 -O2 -LDFLAGS = +CFLAGS += -g -Wall -pedantic -std=c99 -D_FILE_OFFSET_BITS=64 -O2 +LDFLAGS += INCLUDES = INSTALL = install -c INSTALL_PROGRAM = ${INSTALL} INSTALL_DATA = ${INSTALL} -m 644 -COMPILE = $(CC) $(INCLUDES) $(CFLAGS) +COMPILE = $(CC) $(INCLUDES) $(CFLAGS) $(CPPFLAGS) LINK = $(CC) $(CFLAGS) $(LDFLAGS) OBJECTS = utils.o metastore.o metaentry.o HEADERS = utils.h metastore.h metaentry.h -- cgit v1.2.1