build: mise a jour de la compilation pour qu'elle inclue le loader
This commit is contained in:
parent
c301aa8bfc
commit
fcfddd59f8
|
@ -1,19 +1,24 @@
|
|||
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
|
||||
boot12.bin: boot12.asm
|
||||
$(CC) $@ $^
|
||||
|
||||
boot16.bin:
|
||||
nasm -f bin -o boot16.bin boot16.asm
|
||||
boot16.bin: boot16.asm
|
||||
$(CC) $@ $^
|
||||
|
||||
boottest.bin:
|
||||
nasm -f bin -o boottest.bin boottest.asm
|
||||
boottest.bin: boottest.asm
|
||||
$(CC) $@ $^
|
||||
|
||||
bootcp.com:
|
||||
nasm -f bin -o bootcp.com bootcp.asm
|
||||
bootcp.com: bootcp.asm
|
||||
$(CC) $@ $^
|
||||
|
||||
loader.sys: loader.asm
|
||||
$(CC) $@ $^
|
||||
|
||||
clean:
|
||||
rm -f *.o
|
||||
|
|
Loading…
Reference in New Issue