mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-08-14 10:29:46 +00:00
34 lines
821 B
Makefile
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
|