diff --git a/libloragw/Makefile b/libloragw/Makefile index 881442fa..ccffd29f 100644 --- a/libloragw/Makefile +++ b/libloragw/Makefile @@ -11,7 +11,7 @@ CROSS_COMPILE ?= CC := $(CROSS_COMPILE)gcc AR := $(CROSS_COMPILE)ar -CFLAGS := -O2 -Wall -Wextra -std=c99 -Iinc -I. -I../libtools/inc +CFLAGS += -O2 -Wall -Wextra -std=c99 -Iinc -I. -I../libtools/inc OBJDIR = obj INCLUDES = $(wildcard inc/*.h) $(wildcard ../libtools/inc/*.h) diff --git a/libtools/Makefile b/libtools/Makefile index cf849885..86781dc0 100644 --- a/libtools/Makefile +++ b/libtools/Makefile @@ -7,7 +7,7 @@ CROSS_COMPILE ?= CC := $(CROSS_COMPILE)gcc AR := $(CROSS_COMPILE)ar -CFLAGS := -O2 -Wall -Wextra -std=c99 -Iinc -I. +CFLAGS += -O2 -Wall -Wextra -std=c99 -Iinc -I. OBJDIR = obj INCLUDES = $(wildcard inc/*.h)