pico-uart-bridge/build.sh

16 lines
135 B
Bash
Raw Normal View History

#!/bin/sh
BUILD_DIR=build
main () {
local cur_dir=$PWD
mkdir -p $BUILD_DIR
cd $BUILD_DIR
cmake ..
make
cd $cur_dir
}
main $@