2007-04-02 15:54:09 +02:00
|
|
|
CC=nasm -f bin -o
|
|
|
|
BINS=boot12.bin boot16.bin boottest.bin bootcp.com loader.sys
|
|
|
|
|
2007-04-02 14:52:01 +02:00
|
|
|
all: makall
|
|
|
|
|
2007-04-02 15:54:09 +02:00
|
|
|
makall:$(BINS)
|
2007-04-02 14:52:01 +02:00
|
|
|
|
2007-04-02 15:54:09 +02:00
|
|
|
boot12.bin: boot12.asm
|
|
|
|
$(CC) $@ $^
|
2007-04-02 14:52:01 +02:00
|
|
|
|
2007-04-02 15:54:09 +02:00
|
|
|
boot16.bin: boot16.asm
|
|
|
|
$(CC) $@ $^
|
|
|
|
|
|
|
|
boottest.bin: boottest.asm
|
|
|
|
$(CC) $@ $^
|
|
|
|
|
|
|
|
bootcp.com: bootcp.asm
|
|
|
|
$(CC) $@ $^
|
|
|
|
|
|
|
|
loader.sys: loader.asm
|
|
|
|
$(CC) $@ $^
|
2007-04-02 14:52:01 +02:00
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.o
|
|
|
|
rm -f *.bin
|
|
|
|
rm -f *.sys
|
|
|
|
rm -f *.com
|
|
|
|
|
|
|
|
|