#!/bin/bash


mkdir -p programs/lib
mkdir -p programs/bin

cp rocklibc/rlibc.a programs/lib
 
cd programs

cd rocksh
make clean 
bear -- make
cp rocksh.elf ../bin
cd ..

cd vga_text_term
make clean 
bear -- make
cp vga_text_term.elf ../bin
cd ..

cd test
make clean
bear -- make 
cp test.elf ../bin
cd ..

cd ..