mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-09-07 20:54:27 +00:00
112 lines
2.0 KiB
Makefile
112 lines
2.0 KiB
Makefile
|
|
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: graphics.inc
|
|
|
|
|
|
graphics.inc: \
|
|
cottage.lzsa \
|
|
lake_e.lzsa \
|
|
lake_w.lzsa \
|
|
river.lzsa \
|
|
knight.lzsa
|
|
echo "cottage_lzsa: .incbin \"cottage.lzsa\"" > graphics.inc
|
|
echo "lake_w_lzsa: .incbin \"lake_w.lzsa\"" >> graphics.inc
|
|
echo "lake_e_lzsa: .incbin \"lake_e.lzsa\"" >> graphics.inc
|
|
echo "river_lzsa: .incbin \"river.lzsa\"" >> graphics.inc
|
|
echo "knight_lzsa: .incbin \"knight.lzsa\"" >> graphics.inc
|
|
|
|
###
|
|
|
|
videlectrix.lzsa: videlectrix.hgr
|
|
$(LZSA) -r -f2 videlectrix.hgr videlectrix.lzsa
|
|
|
|
videlectrix.hgr: videlectrix.png
|
|
$(PNG2HGR) videlectrix.png > videlectrix.hgr
|
|
|
|
###
|
|
|
|
peasant_title.lzsa: peasant_title.hgr
|
|
$(LZSA) -r -f2 peasant_title.hgr peasant_title.lzsa
|
|
|
|
peasant_title.hgr: peasant_title.png
|
|
$(PNG2HGR) peasant_title.png > peasant_title.hgr
|
|
|
|
###
|
|
|
|
tips.lzsa: tips.hgr
|
|
$(LZSA) -r -f2 tips.hgr tips.lzsa
|
|
|
|
tips.hgr: tips.png
|
|
$(PNG2HGR) tips.png > tips.hgr
|
|
|
|
###
|
|
|
|
cottage.lzsa: cottage.hgr
|
|
$(LZSA) -r -f2 cottage.hgr cottage.lzsa
|
|
|
|
cottage.hgr: cottage.png
|
|
$(PNG2HGR) cottage.png > cottage.hgr
|
|
|
|
###
|
|
|
|
lake_w.lzsa: lake_w.hgr
|
|
$(LZSA) -r -f2 lake_w.hgr lake_w.lzsa
|
|
|
|
lake_w.hgr: lake_w.png
|
|
$(PNG2HGR) lake_w.png > lake_w.hgr
|
|
|
|
###
|
|
|
|
lake_e.lzsa: lake_e.hgr
|
|
$(LZSA) -r -f2 lake_e.hgr lake_e.lzsa
|
|
|
|
lake_e.hgr: lake_e.png
|
|
$(PNG2HGR) lake_e.png > lake_e.hgr
|
|
|
|
###
|
|
|
|
river.lzsa: river.hgr
|
|
$(LZSA) -r -f2 river.hgr river.lzsa
|
|
|
|
river.hgr: river.png
|
|
$(PNG2HGR) river.png > river.hgr
|
|
|
|
###
|
|
|
|
knight.lzsa: knight.hgr
|
|
$(LZSA) -r -f2 knight.hgr knight.lzsa
|
|
|
|
knight.hgr: knight.png
|
|
$(PNG2HGR) knight.png > knight.hgr
|
|
|
|
###
|
|
|
|
trogdor.lzsa: trogdor.hgr
|
|
$(LZSA) -r -f2 trogdor.hgr trogdor.lzsa
|
|
|
|
trogdor.hgr: trogdor.png
|
|
$(PNG2HGR) trogdor.png > trogdor.hgr
|
|
|
|
###
|
|
|
|
game_over.lzsa: game_over.hgr
|
|
$(LZSA) -r -f2 game_over.hgr game_over.lzsa
|
|
|
|
game_over.hgr: game_over.png
|
|
$(PNG2HGR) game_over.png > game_over.hgr
|
|
|
|
|
|
|
|
|
|
###
|
|
|
|
|
|
clean:
|
|
rm -f *~ graphics.inc *.lzsa *.gr *.hgr
|
|
|