Fixed build with Makefile

This commit is contained in:
Paul-Louis Ageneau
2021-03-22 21:08:46 +01:00
parent 9f17522230
commit ee37c9bae4

View File

@ -14,7 +14,7 @@ SRTP_DIR=deps/libsrtp
JUICE_DIR=deps/libjuice JUICE_DIR=deps/libjuice
PLOG_DIR=deps/plog 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= LDLIBS=
USE_GNUTLS ?= 0 USE_GNUTLS ?= 0
@ -65,7 +65,7 @@ endif
INCLUDES+=$(if $(LIBS),$(shell pkg-config --cflags $(LIBS)),) INCLUDES+=$(if $(LIBS),$(shell pkg-config --cflags $(LIBS)),)
LDLIBS+=$(LOCALLIBS) $(if $(LIBS),$(shell pkg-config --libs $(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)) OBJS=$(subst .cpp,.o,$(SRCS))
TEST_SRCS=$(shell printf "%s " test/*.cpp) TEST_SRCS=$(shell printf "%s " test/*.cpp)