mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-08-20 06:29:39 +00:00
34 lines
516 B
Makefile
34 lines
516 B
Makefile
#include ../Makefile.inc
|
|
|
|
B2D = ../../bmp2dhr/b2d
|
|
PNG2GR = ../../gr-utils/png2gr
|
|
LZSA = ~/research/lzsa/lzsa/lzsa
|
|
|
|
|
|
all: title_graphics.inc
|
|
|
|
####
|
|
|
|
mist_title.lzsa: MIST_TITLEC.BIN
|
|
$(LZSA) -r -f2 MIST_TITLEC.BIN mist_title.lzsa
|
|
|
|
MIST_TITLEC.BIN: mist_title.bmp
|
|
$(B2D) mist_title.bmp HGR -d
|
|
|
|
####
|
|
|
|
title_graphics.inc: m_link_book.lzsa
|
|
echo "m_link_book_lzsa: .incbin \"m_link_book.lzsa\"" > title_graphics.inc
|
|
|
|
%.gr: %.png
|
|
$(PNG2GR) $< $@
|
|
|
|
%.lzsa: %.gr
|
|
$(LZSA) -r -f2 $< $@
|
|
|
|
|
|
####
|
|
|
|
clean:
|
|
rm -f *~ *.o *.lst
|