From 5eba1c7003c0416aa32d61dbd4a80c6541add0f1 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Thu, 21 Apr 2022 19:00:51 -0400 Subject: make include dir a configure option --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8c5dbdd3..ebfe963e 100644 --- a/Makefile +++ b/Makefile @@ -1,14 +1,15 @@ .POSIX: +include .config.mk + AR=ar ARFLAGS=rU -BASE_CFLAGS=-g -Wall -Wextra -Werror -nostdinc -fno-builtin -fno-stack-protector -fPIC -Iinclude -Isrc +BASE_CFLAGS=-g -Wall -Wextra -Werror -nostdinc -fno-builtin -fno-stack-protector -fPIC -I$(INCDIR) -Isrc OBJDIR=obj SRCDIR=src all: -include .config.mk include mk/all.mk cleandeps: -- cgit v1.2.1