aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorxeno <xeno@eisberg.nacht>2017-02-23 23:49:18 +0100
committerxeno <xeno@eisberg.nacht>2017-02-23 23:49:18 +0100
commitce7317daf7c9740bc8595f14f7248fa1b050afcf (patch)
treef2d14fd243b5f8235e9e467ad151fd70ecb6dd1e /Makefile
initial commit with some old assembly stuff
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..c9438a6
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,12 @@
+boot.img: print printb
+ cat print printb > boot.img
+
+print: print.asm
+ nasm -Wall print.asm
+
+printb: printb.asm
+ nasm -Wall printb.asm
+
+.PHONY: run
+run: boot.img
+ qemu-system-i386 -drive file=boot.img,format=raw,index=0,if=floppy