From fa819d28b8f72b9e2518bf7d35697a6a529008af Mon Sep 17 00:00:00 2001 From: rsiddharth Date: Wed, 8 Apr 2020 22:56:37 -0400 Subject: nserver/Makefile: Update CFLAGS. Include /usr/local/include. --- nserver/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nserver/Makefile b/nserver/Makefile index 2948971..3ad086e 100644 --- a/nserver/Makefile +++ b/nserver/Makefile @@ -1,4 +1,4 @@ -CFLAGS=-g -O2 -Wall -Wextra -Isrc -rdynamic -DNDEBUG $(OPTFLAGS) +CFLAGS=-g -O2 -Wall -Wextra -Isrc -I/usr/local/include -rdynamic -DNDEBUG $(OPTFLAGS) LIBS=-ldl $(OPTLIBS) PREFIX?=/usr/local CTAGS=`which ectags` @@ -18,7 +18,7 @@ SO_TARGET=$(patsubst %.a,%.so,$(TARGET)) # The Target Build all: $(TARGET) $(SO_TARGET) $(PROGRAMS) TAGS tests -dev: CFLAGS=-g -Wall -Isrc -Wall -Wextra $(OPTFLAGS) +dev: CFLAGS=-g -Wall -Isrc -I/usr/local/include -Wall -Wextra $(OPTFLAGS) dev: all $(TARGET): CFLAGS += -fPIC -- cgit v1.2.3