added basic run recipe
This commit is contained in:
5
makefile
5
makefile
@@ -2,6 +2,8 @@ ASM=nasm
|
||||
CC=gcc
|
||||
LINK=ld
|
||||
ISO=genisoimage
|
||||
EMU=bochs
|
||||
emuconfig='bochsrc.conf'
|
||||
|
||||
all: loader link iso
|
||||
echo 'yeeting'
|
||||
@@ -15,6 +17,9 @@ loader: loader.asm
|
||||
link: loader.o
|
||||
$(LINK) -T link.ld -melf_i386 loader.o -o kernel.elf
|
||||
|
||||
run:
|
||||
$(EMU) -f $(emuconfig) -q
|
||||
|
||||
# build the iso file into our target directory
|
||||
iso:
|
||||
$(ISO) -R \
|
||||
|
||||
Reference in New Issue
Block a user