Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #a.michelizza.free.fr
- OBJ=floppyA
- all: $(OBJ)
- floppyA: bootsect kernel trueKern
- cat boot/bootsect kern/kernel /dev/zero | dd of=floppyA.tmp bs=512 count=2880
- cat floppyA.tmp truekern/kernel /dev/zero | dd of=floppyA bs=512 count=43008
- rm floppyA.tmp
- cp floppyA /tmp/floppyA.img
- bootsect:
- make -C boot
- kernel:
- make -C kern
- trueKern:
- make -C truekern
- clean:
- rm -f $(OBJ) *.o
- make -C boot clean
- make -C kern clean
- make -C truekern clean
- rm /tmp/floppy*
Advertisement
Add Comment
Please, Sign In to add comment