dos33fsprogs/games/monkey/graphics_intro/Makefile
2021-01-05 21:03:44 -05:00

27 lines
557 B
Makefile

#include ../Makefile.inc
PNG2RLE = ../../../utils/gr-utils/png2rle
PNG2GR = ../../../utils/gr-utils/png2gr
LZSA = ~/research/lzsa/lzsa/lzsa
all: title_graphics.inc
####
title_graphics.inc: \
logo.lzsa monkey.lzsa title.lzsa
echo "logo_lzsa: .incbin \"logo.lzsa\"" > title_graphics.inc
echo "monkey_lzsa: .incbin \"monkey.lzsa\"" >> title_graphics.inc
echo "title_lzsa: .incbin \"title.lzsa\"" >> title_graphics.inc
%.gr: %.png
$(PNG2GR) $< $@
%.lzsa: %.gr
$(LZSA) -r -f2 $< $@
####
clean:
rm -f *~ *.o *.lst *.gr *.lzsa title_graphics.inc