added basic run recipe
This commit is contained in:
parent
b3402255b1
commit
b2f820660f
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 \
|
||||
|
Loading…
Reference in New Issue
Block a user