From ee37c9bae4edb5309d65638194d0392aece5d015 Mon Sep 17 00:00:00 2001 From: Paul-Louis Ageneau Date: Mon, 22 Mar 2021 21:08:46 +0100 Subject: [PATCH] Fixed build with Makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 8ad5f44..643214b 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ SRTP_DIR=deps/libsrtp JUICE_DIR=deps/libjuice PLOG_DIR=deps/plog -INCLUDES=-Iinclude/rtc -I$(PLOG_DIR)/include -I$(USRSCTP_DIR)/usrsctplib +INCLUDES=-Isrc -Iinclude/rtc -Iinclude -I$(PLOG_DIR)/include -I$(USRSCTP_DIR)/usrsctplib LDLIBS= USE_GNUTLS ?= 0 @@ -65,7 +65,7 @@ endif INCLUDES+=$(if $(LIBS),$(shell pkg-config --cflags $(LIBS)),) LDLIBS+=$(LOCALLIBS) $(if $(LIBS),$(shell pkg-config --libs $(LIBS)),) -SRCS=$(shell printf "%s " src/*.cpp) +SRCS=$(shell printf "%s " src/*.cpp src/impl/*.cpp) OBJS=$(subst .cpp,.o,$(SRCS)) TEST_SRCS=$(shell printf "%s " test/*.cpp)