blob: f4486b1b4d5651b75bc848d4e5f09897510d07fc (
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
|
C = gcc
CFLAGS = -g -Wall
C++ = g++
CCFLAGS = -g -Wall
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)
|