Théophile Bastian
7b5ffa4d46
Still lacks an outbound bandwidth limiter and outbound actual emission bitrate, to avoid increasing the available bandwidth when the bandwidth is not saturated.
25 lines
405 B
Makefile
25 lines
405 B
Makefile
CXX=g++
|
|
CXXFLAGS=-O2 -g -Wall -Wextra -std=c++17
|
|
CXXLIBS=
|
|
|
|
OBJS= \
|
|
UdpVpn.o UdpVpnClient.o UdpVpnServer.o \
|
|
VpnPeer.o \
|
|
VpnPacket.o \
|
|
TunDevice.o \
|
|
congestion_control.o \
|
|
ip_header.o util.o main.o
|
|
TARGET=congestvpn
|
|
|
|
all: $(TARGET)
|
|
|
|
$(TARGET): $(OBJS)
|
|
$(CXX) $(CXXFLAGS) $(CXXLIBS) -o $@ $^
|
|
|
|
%.o: %.cpp
|
|
$(CXX) $(CXXFLAGS) -c -o $@ $<
|
|
|
|
clean:
|
|
rm -f $(OBJS) $(TARGET)
|
|
|
|
.PHONY: all clean
|