blob: 354099bf29f6b4f306ed0da3413ae2f6d39ae293 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
C = gcc
CFLAGS = -g -Wall
CFLAGS += -DSOCKETS_NAMESPACE=sockets
CFLAGS += -DSOCKETS_NAMESPACE_STR='"sockets"'
C++ = g++
CCFLAGS = -g -Wall
CCFLAGS += -DSOCKETS_NAMESPACE=sockets
CCFLAGS += -DSOCKETS_NAMESPACE_STR='"sockets"'
LD = g++
LDFLAGS = -g -Wall -O2 -lpthread
OBJS = anyrtpproxy.o \
../signalController.o \
../PracticalSocket.o \
../log.o \
../buffer.o \
../rtpSessionTable.o \
../rtpSession.o \
options.o
EXECUTABLE = anyrtpproxy
all: $(EXECUTABLE)
anyrtpproxy: $(OBJS)
$(LD) $(OBJS) -o $@ $(LDFLAGS)
options.o: options.cpp options.h
$(C++) $(CCFLAGS) $< -c
anyrtpproxy.o: anyrtpproxy.cpp
$(C++) $(CCFLAGS) $< -c
clean:
rm -f *.o
rm -f $(EXECUTABLE)
|