浏览代码

add makefile.

Lucas Stadler 11 年之前
父节点
当前提交
b34a139d9b
共有 1 个文件被更改,包括 15 次插入0 次删除
  1. 15 0
      os/Makefile

+ 15 - 0
os/Makefile

@ -0,0 +1,15 @@
1
help:
2
	@echo "make help  - display this message"
3
	@echo "make build - build the os"
4
	@echo "make run   - run the os in qemu"
5
6
build: first.flp
7
8
first.flp: first.bin
9
	dd status=noxfer conv=notrunc if=first.bin of=first.flp
10
11
first.bin: first.asm
12
	nasm -f bin -o first.bin first.asm
13
14
run: first.flp
15
	qemu-system-i386 -fda first.flp