dos33fsprogs/games/mist/books/Makefile
Vince Weaver b1238af49d re-arranged the entire directory structure
this will probably upset people
2021-01-05 15:29:31 -05:00

34 lines
821 B
Makefile

#include ../Makefile.inc
PNG2RLE = ../../gr-utils/png2rle
PNG2GR = ../../gr-utils/png2gr
TEXT2GR = ../../gr-utils/text2gr
LZSA = ~/research/lzsa/lzsa/lzsa
all: octagon_books.inc
####
octagon_books.inc: \
channelwood.lzsa stoneship.lzsa mechanical.lzsa selenitic.lzsa \
fireplace.lzsa
echo "channelwood_book_lzsa: .incbin \"channelwood.lzsa\"" > octagon_books.inc
echo "stoneship_book_lzsa: .incbin \"stoneship.lzsa\"" >> octagon_books.inc
echo "mechanical_book_lzsa: .incbin \"mechanical.lzsa\"" >> octagon_books.inc
echo "selenitic_book_lzsa: .incbin \"selenitic.lzsa\"" >> octagon_books.inc
echo "fireplace_book_lzsa: .incbin \"fireplace.lzsa\"" >> octagon_books.inc
%.gr: %.book
$(TEXT2GR) -i $< $@
%.lzsa: %.gr
$(LZSA) -r -f2 $< $@
####
clean:
rm -f *~ *.o *.lst *.gr *.lzsa octagon_books.inc