projects
/
bootsplash
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
works nicely from the floppy
[bootsplash]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
11d9094
..
2f6fab5
100644
(file)
--- 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
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 $@ $<
nasm -f bin -o $@ $<
-nuclear.rle: nuclear.img
+nuclear.rle: nuclear.img rle/rle
cat $< | rle/rle >$@ 2>rle.log
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)
.PHONY: clean
clean:
rm -f $(bin)