EttinOS/make.sh

15 lines
214 B
Bash
Executable File

#!/bin/bash
if [ ! -d "build" ];
then
mkdir build
fi
cd src/
nasm boot.asm -f bin -o ../build/boot.bin
nasm os.asm -f bin -o ../build/os.bin
cd ../build/
cat boot.bin os.bin > EttinOS.img
rm boot.bin os.bin