From 40c596e8af7a52bc30069eae11ed78423ce204a8 Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Fri, 1 May 2020 00:08:07 +0200 Subject: [PATCH] client Makefile: allow to add includes (e.g. for termux) --- client/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/Makefile b/client/Makefile index 63860874d..e8358757e 100644 --- a/client/Makefile +++ b/client/Makefile @@ -54,7 +54,7 @@ ZLIBPATH = ../common/zlib ZLIB = $(OBJDIR)/libz.a LIBS = -I$(LUALIBPATH) -I$(MBEDTLSLIBPATH) -I$(JANSSONLIBPATH) -I$(CBORLIBPATH) -I$(ZLIBPATH) -I$(REVENGPATH) -I$(AMIIBOLIBPATH) -I$(HARDNESTEDPATH) -I$(CLIPARSERPATH) -INCLUDES_CLIENT = -I./src -I../include -I../common -I../common_fpga $(LIBS) +INCLUDES_CLIENT += -I./src -I../include -I../common -I../common_fpga $(LIBS) CFLAGS ?= -Wall -Werror -O3 # We cannot just use CFLAGS+=... because it has impact on sub-makes if CFLAGS is defined in env: PM3CFLAGS = $(CFLAGS) $(INCLUDES_CLIENT)