diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -9,14 +9,25 @@ #lets use the size of a 1.44 floppy for a start for our boot img IMAGE_SIZE=1474560 +#data starts at 0x8000 +DATA_START=32768 #final image all: FoolOS.img #assembling of final image -FoolOS.img: mbr.bin kernel.bin fill.bin +FoolOS.img: Fool.img FoolData.img fill.bin cat $^ | head -c $(IMAGE_SIZE) > $@ +Fool.img: mbr.bin kernel.bin fill.bin + cat $^ | head -c $(DATA_START) > $@ + +FoolData.img: binfont.bin + cat $^ > $@ + +binfont.bin: binfont.src + python makefont.py + #some data just to fill up to the target image_size fill.bin: boot/fill.asm nasm -f bin $^ -o $@ |
