build: mise a jour de la compilation pour qu'elle inclue le loader

This commit is contained in:
Nicolas Hordé 2007-04-02 13:54:09 +00:00
parent c301aa8bfc
commit fcfddd59f8
1 changed files with 17 additions and 12 deletions

View File

@ -1,19 +1,24 @@
CC=nasm -f bin -o
BINS=boot12.bin boot16.bin boottest.bin bootcp.com loader.sys
all: makall all: makall
makall: boot12.bin boot16.bin boottest.bin bootcp.com makall:$(BINS)
sync
boot12.bin: boot12.bin: boot12.asm
nasm -f bin -o boot12.bin boot12.asm $(CC) $@ $^
boot16.bin: boot16.bin: boot16.asm
nasm -f bin -o boot16.bin boot16.asm $(CC) $@ $^
boottest.bin: boottest.bin: boottest.asm
nasm -f bin -o boottest.bin boottest.asm $(CC) $@ $^
bootcp.com: bootcp.com: bootcp.asm
nasm -f bin -o bootcp.com bootcp.asm $(CC) $@ $^
loader.sys: loader.asm
$(CC) $@ $^
clean: clean:
rm -f *.o rm -f *.o