mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-11-29 14:51:17 +00:00
15 lines
378 B
Makefile
15 lines
378 B
Makefile
|
|
%-pf.hex: %-pf.pbm p4_to_pfbytes.py
|
|
python p4_to_pfbytes.py $< > $@
|
|
|
|
%-48.hex: %-48.pbm p4_to_48pix.py
|
|
python p4_to_48pix.py $< > $@
|
|
|
|
%-pf.pbm: %.jpg
|
|
convert $< -resize 40x192\! -colorspace Gray -dither FloydSteinberg $@
|
|
|
|
%-48.pbm: %.jpg
|
|
convert $< -resize 48x192\! -colorspace Gray -dither FloydSteinberg $@
|
|
|
|
ship1.pbm: ship1.png
|
|
convert ship1.png -negate -flop ship1.pbm
|