all : \ ../sprites/kgcmb0.png \ ../sprites/kgcma0.png \ ../sprites/kgcmc0.png \ ../sprites/kgcna0.png \ ../sprites/kgcnb0.png \ ../sprites/bright_kgcma0.png \ ../sprites/bright_kgcmb0.png \ ../sounds/kirigretchencounter_click.ogg \ ../sounds/kirigretchencounter_blip.ogg \ ../sounds/kirigretchencounter_onoff.ogg \ ../sprites/kgcpa0.png \ ../sprites/kgcpb0.png \ ../sprites/bright_kgcpa0.png \ ../sprites/bright_kgcpb0.png \ ../sprites/bright_kgcmc0.png # Base frames ../sprites/kgcma0.png : gretchencounter_weaponsprite.aseprite aseprite $^ \ -b \ --ignore-layer "brightmap" \ --frame-range 0,0 --save-as $@ ../sprites/kgcmb0.png : gretchencounter_weaponsprite.aseprite aseprite $^ \ -b \ --ignore-layer "brightmap" \ --frame-range 1,1 --save-as $@ ../sprites/kgcmc0.png : gretchencounter_weaponsprite.aseprite aseprite $^ \ -b \ --ignore-layer "brightmap" \ --frame-range 2,2 --save-as $@ # Brightmaps ../sprites/bright_kgcma0.png : gretchencounter_weaponsprite.aseprite aseprite $^ \ -b \ --layer "brightmap" \ --frame-range 0,0 --save-as $@ ../sprites/bright_kgcmb0.png : gretchencounter_weaponsprite.aseprite aseprite $^ \ -b \ --layer "brightmap" \ --frame-range 1,1 --save-as $@ ../sprites/bright_kgcmc0.png : gretchencounter_weaponsprite.aseprite aseprite $^ \ -b \ --layer "brightmap" \ --frame-range 2,2 --save-as $@ # Needle ../sprites/kgcna0.png : gretchencounter_weaponsprite.aseprite aseprite $^ \ -b \ --layer "needle" \ --frame-range 0,0 --save-as $@ ../sprites/kgcnb0.png : gretchencounter_weaponsprite.aseprite aseprite $^ \ -b \ --layer "needle" \ --frame-range 1,1 --save-as $@ # Pickup sprite ../sprites/kgcpa0.png : gretchencounter_pickupsprite.aseprite aseprite $^ \ -b \ --ignore-layer "brightmap" \ --frame-range 0,0 --save-as $@ ../sprites/kgcpb0.png : gretchencounter_pickupsprite.aseprite aseprite $^ \ -b \ --ignore-layer "brightmap" \ --frame-range 1,1 --save-as $@ ../sprites/bright_kgcpa0.png : gretchencounter_pickupsprite.aseprite aseprite $^ \ -b \ --layer "brightmap" \ --frame-range 0,0 --save-as $@ ../sprites/bright_kgcpb0.png : gretchencounter_pickupsprite.aseprite aseprite $^ \ -b \ --layer "brightmap" \ --frame-range 1,1 --save-as $@ # Sounds ../sounds/kirigretchencounter_click.ogg : kirigretchencounter_click.wav ffmpeg -i $^ "-filter:a" "volume=1.0" $@ ../sounds/kirigretchencounter_blip.ogg : kirigretchencounter_blip.wav ffmpeg -i $^ "-filter:a" "volume=1.0" $@ ../sounds/kirigretchencounter_onoff.ogg : on_off_switch.wav ffmpeg -i $^ "-filter:a" "volume=1.0" $@