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