Browse Source

Fixed build with Makefile

Paul-Louis Ageneau 4 years ago
parent
commit
ee37c9bae4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Makefile

+ 2 - 2
Makefile

@@ -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)