mirror of
https://github.com/deater/dos33fsprogs.git
synced 2024-08-19 14:29:25 +00:00
29 lines
498 B
Makefile
29 lines
498 B
Makefile
|
|
PNG2GR = ../../gr-utils/png2gr
|
|
LZSA = ~/research/lzsa/lzsa/lzsa
|
|
|
|
all: level1_graphics.inc level2_graphics.inc
|
|
|
|
####
|
|
|
|
level1_graphics.inc: level1_bg.lzsa
|
|
echo "level1_bg_lzsa: .incbin \"level1_bg.lzsa\"" > level1_graphics.inc
|
|
|
|
####
|
|
|
|
level2_graphics.inc: level2_bg.lzsa
|
|
echo "level2_bg_lzsa: .incbin \"level2_bg.lzsa\"" > level2_graphics.inc
|
|
|
|
####
|
|
|
|
%.gr: %.png
|
|
$(PNG2GR) $< $@
|
|
|
|
%.lzsa: %.gr
|
|
$(LZSA) -r -f2 $< $@
|
|
|
|
####
|
|
|
|
clean:
|
|
rm -f *~ *.o *.lst *.lzsa level1_graphics.inc level2_graphics.inc
|