uvgrtp-rv1106/Makefile

34 lines
1.9 KiB
Makefile

.PHONY: all clean
CXX = /home/qiurui/Documents/docker-volume/rkpro/sdk-official/luckfox-pico/tools/linux/toolchain/arm-rockchip830-linux-uclibcgnueabihf/bin/arm-rockchip830-linux-uclibcgnueabihf-g++
CXXFLAGS = -I./include -L./lib -Wall -Wextra -O2 -std=c++17 -g
uvgrtp_sender: uvgrtp/sender.cc util/util.cc
$(CXX) $(CXXFLAGS) -o uvgrtp/sender uvgrtp/sender.cc util/util.cc uvgrtp/v3c_util.cc -luvgrtp -lpthread
uvgrtp_receiver: uvgrtp/receiver.cc util/util.cc
$(CXX) $(CXXFLAGS) -o uvgrtp/receiver uvgrtp/receiver.cc util/util.cc uvgrtp/v3c_util.cc -luvgrtp -lpthread
uvgrtp_latency_sender: uvgrtp/latency_sender.cc util/util.cc
$(CXX) $(CXXFLAGS) -o uvgrtp/latency_sender uvgrtp/latency_sender.cc util/util.cc uvgrtp/v3c_util.cc -luvgrtp -lpthread
uvgrtp_latency_receiver: uvgrtp/latency_receiver.cc util/util.cc
$(CXX) $(CXXFLAGS) -o uvgrtp/latency_receiver uvgrtp/latency_receiver.cc util/util.cc uvgrtp/v3c_util.cc -luvgrtp -lpthread
uvgrtp_vpcc_latency_sender: uvgrtp/vpcc_latency_sender.cc util/util.cc
$(CXX) $(CXXFLAGS) -o uvgrtp/vpcc_latency_sender uvgrtp/vpcc_latency_sender.cc util/util.cc uvgrtp/v3c_util.cc -luvgrtp -lpthread
uvgrtp_vpcc_latency_receiver: uvgrtp/vpcc_latency_receiver.cc util/util.cc
$(CXX) $(CXXFLAGS) -o uvgrtp/vpcc_latency_receiver uvgrtp/vpcc_latency_receiver.cc util/util.cc uvgrtp/v3c_util.cc -luvgrtp -lpthread
uvgrtp_vpcc_sender: uvgrtp/vpcc_sender.cc util/util.cc
$(CXX) $(CXXFLAGS) -o uvgrtp/vpcc_sender uvgrtp/vpcc_sender.cc util/util.cc uvgrtp/v3c_util.cc -luvgrtp -lpthread
uvgrtp_vpcc_receiver: uvgrtp/vpcc_receiver.cc util/util.cc
$(CXX) $(CXXFLAGS) -o uvgrtp/vpcc_receiver uvgrtp/vpcc_receiver.cc util/util.cc uvgrtp/v3c_util.cc -luvgrtp -lpthread
clean:
rm -f uvgrtp/receiver uvgrtp/sender uvgrtp/latency_sender uvgrtp/latency_receiver \
uvgrtp/vpcc_latency_sender uvgrtp/vpcc_latency_receiver \
uvgrtp/vpcc_sender uvgrtp/vpcc_receiver