2020-03-05 05:59:07 +00:00
|
|
|
#include ../Makefile.inc
|
|
|
|
|
|
|
|
B2D = ../../bmp2dhr/b2d
|
2020-03-19 17:55:29 +00:00
|
|
|
PNG2GR = ../../gr-utils/png2gr
|
2020-03-05 05:59:07 +00:00
|
|
|
LZSA = ~/research/lzsa/lzsa/lzsa
|
|
|
|
|
2020-03-19 17:55:29 +00:00
|
|
|
|
2020-07-08 18:19:37 +00:00
|
|
|
all: title_graphics.inc
|
2020-03-05 05:59:07 +00:00
|
|
|
|
|
|
|
####
|
|
|
|
|
2020-07-17 15:54:06 +00:00
|
|
|
title_graphics.inc: m_link_book.lzsa \
|
|
|
|
m_title_m.lzsa m_title_y.lzsa m_title_s.lzsa m_title_t.lzsa \
|
|
|
|
fissure.lzsa fissure_book_small.lzsa fissure_book_big.lzsa \
|
|
|
|
falling_right.lzsa falling_left.lzsa \
|
|
|
|
book_air.lzsa book_sparks.lzsa book_glow.lzsa \
|
2020-07-17 16:53:08 +00:00
|
|
|
book_ground.lzsa book_ground_n.lzsa \
|
|
|
|
book_closed_n.lzsa
|
2020-03-19 17:55:29 +00:00
|
|
|
echo "m_link_book_lzsa: .incbin \"m_link_book.lzsa\"" > title_graphics.inc
|
2020-07-17 15:54:06 +00:00
|
|
|
echo "m_title_m_lzsa: .incbin \"m_title_m.lzsa\"" >> title_graphics.inc
|
|
|
|
echo "m_title_y_lzsa: .incbin \"m_title_y.lzsa\"" >> title_graphics.inc
|
|
|
|
echo "m_title_s_lzsa: .incbin \"m_title_s.lzsa\"" >> title_graphics.inc
|
|
|
|
echo "m_title_t_lzsa: .incbin \"m_title_t.lzsa\"" >> title_graphics.inc
|
|
|
|
echo "fissure_lzsa: .incbin \"fissure.lzsa\"" >> title_graphics.inc
|
|
|
|
echo "fissure_book_small_lzsa: .incbin \"fissure_book_small.lzsa\"" >> title_graphics.inc
|
|
|
|
echo "fissure_book_big_lzsa: .incbin \"fissure_book_big.lzsa\"" >> title_graphics.inc
|
|
|
|
echo "falling_right_lzsa: .incbin \"falling_right.lzsa\"" >> title_graphics.inc
|
|
|
|
echo "falling_left_lzsa: .incbin \"falling_left.lzsa\"" >> title_graphics.inc
|
|
|
|
echo "book_air_lzsa: .incbin \"book_air.lzsa\"" >> title_graphics.inc
|
|
|
|
echo "book_sparks_lzsa: .incbin \"book_sparks.lzsa\"" >> title_graphics.inc
|
|
|
|
echo "book_glow_lzsa: .incbin \"book_glow.lzsa\"" >> title_graphics.inc
|
|
|
|
echo "book_ground_lzsa: .incbin \"book_ground.lzsa\"" >> title_graphics.inc
|
|
|
|
echo "book_ground_n_lzsa: .incbin \"book_ground_n.lzsa\"" >> title_graphics.inc
|
2020-07-17 16:53:08 +00:00
|
|
|
echo "book_closed_n_lzsa: .incbin \"book_closed_n.lzsa\"" >> title_graphics.inc
|
|
|
|
|
2020-07-17 15:54:06 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-03-19 17:55:29 +00:00
|
|
|
|
|
|
|
%.gr: %.png
|
|
|
|
$(PNG2GR) $< $@
|
|
|
|
|
|
|
|
%.lzsa: %.gr
|
|
|
|
$(LZSA) -r -f2 $< $@
|
|
|
|
|
|
|
|
|
|
|
|
####
|
|
|
|
|
2020-03-05 05:59:07 +00:00
|
|
|
clean:
|
|
|
|
rm -f *~ *.o *.lst
|