From 4a0accd0b78e0b0272ed40dd5b669b0b081f3ea5 Mon Sep 17 00:00:00 2001 From: yenatch Date: Fri, 28 Oct 2016 15:34:54 -0400 Subject: Add makefile rules for mid2agb. --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 0c38e6d41..95312cf5c 100644 --- a/Makefile +++ b/Makefile @@ -18,13 +18,10 @@ LIBGCC := tools/agbcc/lib/libgcc.a SHA1 := sha1sum -c GFX := tools/gbagfx/gbagfx - AIF := tools/aif2pcm/aif2pcm - +MID := tools/mid2agb/mid2agb SCANINC := tools/scaninc/scaninc - PREPROC := tools/preproc/preproc - RAMSCRGEN := tools/ramscrgen/ramscrgen REVISION := 0 @@ -241,6 +238,7 @@ include misc.mk %.png: ; %.pal: ; %.aif: ; + %.1bpp: %.png ; $(GFX) $< $@ %.4bpp: %.png ; $(GFX) $< $@ %.8bpp: %.png ; $(GFX) $< $@ @@ -249,6 +247,8 @@ include misc.mk %.rl: % ; $(GFX) $< $@ %.pcm: %.aif ; $(AIF) $< $@ %.bin: %.aif ; $(AIF) $< $@ +sound/songs/%.s: sound/songs/%.mid + cd $(@D) && ../../$(MID) $(