ThiesyyyOS/makefile

8 lines
220 B
Makefile
Executable File

all:
build=$(cat build)
sed 's/######/${build}/g' src/main.asm > tmp/main.asm
nasm src/boot.asm -o tmp/boot.bin
nasm tmp/main.asm -o tmp/main.bin
cat tmp/boot.bin tmp/main.bin > out/os.img
virtualbox --startvm own