From 58ba5c203e7a6ee5c10fd063fd3981df3d9546dc Mon Sep 17 00:00:00 2001 From: epoch Date: Fri, 15 Nov 2019 04:03:33 +0000 Subject: added -I to also include $(PREFIX)'s include too --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8f702b6..33ac6e8 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ -CFLAGS=-fpic -shared -pedantic -Wall -g3 -TARGET=libirc.so PREFIX:=/usr/local +CFLAGS=-fpic -shared -pedantic -Wall -g3 -I$(PREFIX)/include +TARGET=libirc.so all: libirc.so -- cgit v1.2.3