2020-03-26 18:17:10 +00:00
|
|
|
#include ../Makefile.inc
|
|
|
|
|
|
|
|
PNG2RLE = ../../gr-utils/png2rle
|
|
|
|
PNG2GR = ../../gr-utils/png2gr
|
|
|
|
LZSA = ~/research/lzsa/lzsa/lzsa
|
|
|
|
|
|
|
|
all: stoney_graphics.inc
|
|
|
|
|
|
|
|
####
|
|
|
|
|
|
|
|
stoney_graphics.inc: \
|
|
|
|
ship_entry_n.lzsa ship_entry_s.lzsa \
|
|
|
|
ship_bow_s.lzsa ship_bow_go_n.lzsa \
|
2020-03-27 16:43:47 +00:00
|
|
|
ship_door_open_s.lzsa ship_door_closed_s.lzsa \
|
|
|
|
book_chair_s.lzsa book_chair_n.lzsa
|
2020-03-26 18:17:10 +00:00
|
|
|
echo "ship_entry_n_lzsa: .incbin \"ship_entry_n.lzsa\"" > stoney_graphics.inc
|
|
|
|
echo "ship_entry_s_lzsa: .incbin \"ship_entry_s.lzsa\"" >> stoney_graphics.inc
|
|
|
|
echo "ship_bow_s_lzsa: .incbin \"ship_bow_s.lzsa\"" >> stoney_graphics.inc
|
|
|
|
echo "ship_bow_go_n_lzsa: .incbin \"ship_bow_go_n.lzsa\"" >> stoney_graphics.inc
|
|
|
|
echo "book_chair_s_lzsa: .incbin \"book_chair_s.lzsa\"" >> stoney_graphics.inc
|
2020-03-27 16:43:47 +00:00
|
|
|
echo "book_chair_n_lzsa: .incbin \"book_chair_n.lzsa\"" >> stoney_graphics.inc
|
|
|
|
echo "ship_door_open_s_lzsa: .incbin \"ship_door_open_s.lzsa\"" >> stoney_graphics.inc
|
|
|
|
echo "ship_door_closed_s_lzsa: .incbin \"ship_door_closed_s.lzsa\"" >> stoney_graphics.inc
|
2020-03-26 18:17:10 +00:00
|
|
|
|
|
|
|
%.gr: %.png
|
|
|
|
$(PNG2GR) $< $@
|
|
|
|
|
|
|
|
%.lzsa: %.gr
|
|
|
|
$(LZSA) -r -f2 $< $@
|
|
|
|
|
|
|
|
####
|
|
|
|
|
|
|
|
clean:
|
2020-04-09 05:23:32 +00:00
|
|
|
rm -f *~ *.o *.lst *.gr *.lzsa stoney_graphics.inc
|