From fcfddd59f818e00de1a00aa4e89f7125dffdc4a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20Hord=C3=A9?= Date: Mon, 2 Apr 2007 13:54:09 +0000 Subject: [PATCH] build: mise a jour de la compilation pour qu'elle inclue le loader --- boot/makefile | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) diff --git a/boot/makefile b/boot/makefile index 10cbc4f..f38d5ab 100644 --- a/boot/makefile +++ b/boot/makefile @@ -1,20 +1,25 @@ +CC=nasm -f bin -o +BINS=boot12.bin boot16.bin boottest.bin bootcp.com loader.sys + all: makall -makall: boot12.bin boot16.bin boottest.bin bootcp.com - sync +makall:$(BINS) -boot12.bin: - nasm -f bin -o boot12.bin boot12.asm - -boot16.bin: - nasm -f bin -o boot16.bin boot16.asm +boot12.bin: boot12.asm + $(CC) $@ $^ -boottest.bin: - nasm -f bin -o boottest.bin boottest.asm +boot16.bin: boot16.asm + $(CC) $@ $^ + +boottest.bin: boottest.asm + $(CC) $@ $^ + +bootcp.com: bootcp.asm + $(CC) $@ $^ + +loader.sys: loader.asm + $(CC) $@ $^ -bootcp.com: - nasm -f bin -o bootcp.com bootcp.asm - clean: rm -f *.o rm -f *.bin