32 lines
940 B
Makefile
32 lines
940 B
Makefile
|
|
||
|
all : \
|
||
|
../sprites/jmpka0.png \
|
||
|
../sprites/jmpra0.png \
|
||
|
../sprites/jmppa0.png \
|
||
|
../sprites/jmppb0.png \
|
||
|
../sprites/jmppc0.png \
|
||
|
../graphics/jmpr_reticle.png
|
||
|
|
||
|
../sprites/jmpka0.png : kit.aseprite
|
||
|
aseprite -b $^ --save-as $@
|
||
|
|
||
|
../sprites/jmpra0.png : jmpra0.aseprite
|
||
|
aseprite -b $^ --save-as $@
|
||
|
|
||
|
# Base sprite with no numerical indicator, but anim frames (0,1,2) for
|
||
|
# status light.
|
||
|
../sprites/jmppa0.png ../sprites/jmppb0.png ../sprites/jmppc0.png : povsprite.aseprite
|
||
|
aseprite -b $^ \
|
||
|
--ignore-layer "numberindicatorleft" \
|
||
|
--ignore-layer "numberindicatorright" \
|
||
|
--frame-range 0,2 --save-as $@
|
||
|
|
||
|
# Correct Aseprite's automatic naming to Doom's. (Number at the
|
||
|
# end is for rotations, letters are for frame numbers.)
|
||
|
mv ../sprites/jmppa1.png ../sprites/jmppb0.png
|
||
|
mv ../sprites/jmppa2.png ../sprites/jmppc0.png
|
||
|
|
||
|
../graphics/jmpr_reticle.png : jmpr_reticle.aseprite
|
||
|
aseprite -b $^ \
|
||
|
--frame-range 0,2 --save-as $@
|