mirror of
https://github.com/mii443/libdatachannel.git
synced 2025-08-22 15:15:28 +00:00
Fixed build with Makefile
This commit is contained in:
4
Makefile
4
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)
|
||||||
|
Reference in New Issue
Block a user