dos33fsprogs/games/peasant/graphics_map/Makefile

33 lines
530 B
Makefile
Raw Permalink Normal View History

2021-11-05 20:07:40 +00:00
PNG2RLE = ../../../utils/gr-utils/png2rle
PNG2GR = ../../../utils/gr-utils/png2gr
PNG2HGR = ../../../utils/hgr-utils/png2hgr
#LZSA = ~/research/lzsa/lzsa/lzsa
2021-11-05 20:07:40 +00:00
B2D = ../../../utils/bmp2dhr/b2d
ZX02 = ~/research/6502_compression/zx02.git/build/zx02
2021-11-05 20:07:40 +00:00
all: map_graphics.inc
###
map_graphics.inc: \
map.zx02
echo "map_zx02: .incbin \"map.zx02\"" > map_graphics.inc
2021-11-05 20:07:40 +00:00
###
map.zx02: map.hgr
$(ZX02) -f map.hgr map.zx02
2021-11-05 20:07:40 +00:00
map.hgr: map.png
$(PNG2HGR) map.png > map.hgr
####
clean:
rm -f *~ map_graphics.inc *.zx02 *.gr *.hgr
2021-11-05 20:07:40 +00:00