#!/bin/bash
mkdir -p build
mkdir -p bin
g++ -o build/UdpServer.o -O2 -c ../../core/UdpServer.cpp &&\
g++ -O2 -o build/UdpClient.o -c ../../core/UdpClient.cpp && \
g++ -O2 -o build/UdpClientUdpServerTest.o -c UdpClientUdpServerTest.cpp && \
g++ -o bin/UdpClientUdpServerTest build/UdpClientUdpServerTest.o build/UdpClient.o build/UdpServer.o 
