#!/bin/bash

cd catkin_ws/src/NetworkingLib/
mkdir cmake-build-debug
cd cmake-build-debug
cmake ..
sudo make install

cd ../../PlatoonProtocolLib/
mkdir cmake-build-debug
cd cmake-build-debug
cmake ..
sudo make install

cd ../../PC2CarLib/
mkdir cmake-build-debug
cd cmake-build-debug
cmake ..
sudo make install

cd ../../PC/
mkdir cmake-build-debug
cd cmake-build-debug
cmake ..
make

cd ../../../
catkin_make
