]>
git.dujemihanovic.xyz Git - nameless-os.git/blob - Makefile
a85a94acd141033159828870efa184d744d3b681
1 AS
= yasm
# choose yasm or nasm here
2 ASFLAGS
= -f bin
# compile a raw binary
4 boot
: boot.s
print.s disk.s
5 $(AS
) $(ASFLAGS
) -o
$@ boot.s
14 @echo
"Run 'make' to compile."
15 @echo
"Run 'make clean' to delete compiled objects."
16 @echo
"Run 'make run' to run the compiled object. Must have qemu-system-i386 (but x86_64 should work too)."
18 .PHONY
= clean run help