Nyanix

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | LICENSE

commit 41e50a25437192e984cd6f9d463a4db6ffefe4ba
parent 339af8ad3ece68efb49e315e19d0ac57d3bfe0a6
Author: k4m1 <k4m1@proton.intra.silverskin.com>
Date:   Fri,  6 Jul 2018 13:39:48 +0300

Added makefile.

Diffstat:
Makefile | 22++++++++++++++++++++++
1 file changed, 22 insertions(+), 0 deletions(-)

diff --git a/Makefile b/Makefile @@ -0,0 +1,22 @@ +as=nasm +asflags=-fbin -O0 + +target=bin/Nyanix +entry=src/boot.s + +.PHONY: all clean debug qemu install + +all: clean install + +clean: + rm -rf bin/* + +debug: + $(as) $(asflags) -g -o $(target) $(entry) + +qemu: clean debug + qemu-system-i386 -d guest_errors $(target) + +install: + $(as) $(asflags) -o $(target) $(entry) +