dos33fsprogs/games/peasant/graphics_end/Makefile

73 lines
1.4 KiB
Makefile
Raw Normal View History

2021-09-07 04:55:37 +00:00
PNG2RLE = ../../../utils/gr-utils/png2rle
PNG2GR = ../../../utils/gr-utils/png2gr
PNG2HGR = ../../../utils/hgr-utils/png2hgr
LZSA = ~/research/lzsa/lzsa/lzsa
B2D = ../../../utils/bmp2dhr/b2d
all: ending_graphics.inc
ending_graphics.inc: \
2021-09-08 03:31:37 +00:00
lake_e_boat.lzsa \
2021-09-07 04:55:37 +00:00
waterfall.lzsa \
jhonka.lzsa \
cottage.lzsa \
the_end.lzsa
2021-09-10 04:46:25 +00:00
echo "lake_e_boat_lzsa: .incbin \"lake_e_boat.lzsa\"" > ending_graphics.inc
2021-09-07 04:55:37 +00:00
echo "waterfall_lzsa: .incbin \"waterfall.lzsa\"" >> ending_graphics.inc
echo "jhonka_lzsa: .incbin \"jhonka.lzsa\"" >> ending_graphics.inc
echo "cottage_lzsa: .incbin \"cottage.lzsa\"" >> ending_graphics.inc
echo "the_end_lzsa: .incbin \"the_end.lzsa\"" >> ending_graphics.inc
###
2021-09-08 03:31:37 +00:00
lake_e_boat.lzsa: lake_e_boat.hgr
$(LZSA) -r -f2 lake_e_boat.hgr lake_e_boat.lzsa
lake_e_boat.hgr: lake_e_boat.png
$(PNG2HGR) lake_e_boat.png > lake_e_boat.hgr
###
2021-09-07 04:55:37 +00:00
waterfall.lzsa: waterfall.hgr
$(LZSA) -r -f2 waterfall.hgr waterfall.lzsa
waterfall.hgr: waterfall.png
$(PNG2HGR) waterfall.png > waterfall.hgr
###
jhonka.lzsa: jhonka.hgr
$(LZSA) -r -f2 jhonka.hgr jhonka.lzsa
jhonka.hgr: jhonka.png
$(PNG2HGR) jhonka.png > jhonka.hgr
###
cottage.lzsa: cottage.hgr
$(LZSA) -r -f2 cottage.hgr cottage.lzsa
cottage.hgr: cottage.png
$(PNG2HGR) cottage.png > cottage.hgr
###
the_end.lzsa: the_end.hgr
$(LZSA) -r -f2 the_end.hgr the_end.lzsa
the_end.hgr: the_end.png
$(PNG2HGR) the_end.png > the_end.hgr
###
clean:
2021-09-10 04:46:25 +00:00
rm -f *~ ending_graphics.inc *.lzsa *.gr *.hgr
2021-09-07 04:55:37 +00:00