monkey: forgot to add music

This commit is contained in:
Vince Weaver 2020-09-18 09:24:08 -04:00
parent 37516b2298
commit 9d17dd2227
3 changed files with 28 additions and 0 deletions

View File

@ -38,6 +38,7 @@ TITLE: title.o
title.o: title.s \
graphics_intro/title_graphics.inc \
music/theme.inc \
interrupt_handler.s mockingboard.s ym_play.s gr_overlay.s
ca65 -o title.o title.s -l title.lst
@ -65,9 +66,15 @@ graphics/graphics.inc:
graphics_intro/title_graphics.inc:
cd graphics_intro && make
music/theme.inc:
cd music && make
####
clean:
rm -f *~ *.o *.lst HELLO MONKEY
cd graphics && make clean
cd graphics_intro && make clean
cd music && make clean

21
monkey/music/Makefile Normal file
View File

@ -0,0 +1,21 @@
#include ../Makefile.inc
PNG2RLE = ../../gr-utils/png2rle
PNG2GR = ../../gr-utils/png2gr
LZSA = ~/research/lzsa/lzsa/lzsa
all: music.inc
####
music.inc: \
theme.lzsa
echo "theme_lzsa: .incbin \"theme.lzsa\"" > music.inc
%.lzsa: %.krg
$(LZSA) -r -f2 $< $@
####
clean:
rm -f *~ *.o *.lst *.gr *.lzsa music.inc

BIN
monkey/music/theme.krg Normal file

Binary file not shown.