From 27de53bfc72065ec545c7ca698ca016fb89e4d50 Mon Sep 17 00:00:00 2001 From: Andy Gross Date: Thu, 7 Jun 2012 14:04:25 -0700 Subject: [PATCH] Append CFLAGS/LDFLAGS to any flags already set, so custom builds with non-standard include paths can work. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index eba3e9c..32243b8 100644 --- a/Makefile +++ b/Makefile @@ -7,8 +7,8 @@ PREFIX = /usr/local BINDIR = $(PREFIX)/bin MANDIR = $(PREFIX)/share/man -CFLAGS = -O2 -g -std=c99 -fno-strict-aliasing -Wall -W -D_GNU_SOURCE -I/usr/local/include -LDFLAGS = -lssl -lcrypto -lev -L/usr/local/lib +CFLAGS += -O2 -g -std=c99 -fno-strict-aliasing -Wall -W -D_GNU_SOURCE -I/usr/local/include +LDFLAGS += -lssl -lcrypto -lev -L/usr/local/lib OBJS = stud.o ringbuffer.o configuration.o all: realall