X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=bootsplash;a=blobdiff_plain;f=Makefile;h=2f6fab5179257b78c8e9d1368dab0243c2abdd62;hp=11d909450374258ea9df8f54b99eb99ea9c1b73c;hb=HEAD;hpb=820efb5b1e9e68781482470778053ac47282c4b7 diff --git a/Makefile b/Makefile index 11d9094..2f6fab5 100644 --- a/Makefile +++ b/Makefile @@ -5,12 +5,21 @@ $(img): $(bin) dd if=/dev/zero of=$@ bs=512 count=2880 dd if=$< of=$@ bs=512 conv=notrunc -$(bin): bootsplash.asm nuclear.rle +$(bin): bootsplash.asm nuclear.rle fire.pal nasm -f bin -o $@ $< -nuclear.rle: nuclear.img +nuclear.rle: nuclear.img rle/rle cat $< | rle/rle >$@ 2>rle.log +nuclear.img: nuclear.pgm + dd if=$< of=$@ bs=1 skip=61 + +fire.pal: fire.ppm + dd if=$< of=$@ bs=1 skip=59 + +rle/rle: + $(MAKE) -C rle + .PHONY: clean clean: rm -f $(bin)