summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2016-09-08 16:42:47 -0700
committerMarcus Huderle <huderlem@gmail.com>2016-09-08 16:42:47 -0700
commit001e1c77b8e6afd6d0af0ec81496d54219e4c7bd (patch)
tree9399629342bbbc8ef3ddaf528c49d04071044396 /Makefile
parentfe1fad3aa5b25e00597c0ab6d2925a9390b2cbd1 (diff)
Output .bin file for direct sound metadata (loop point, pitch adust, and number of samples). This was needed since we couldn't incbin a string argument in a macro.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d838fcbe2..3f11e0246 100644
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,7 @@ PREPROC := tools/preproc/preproc
# Secondary expansion is required for dependency variables in object rules.
.SECONDEXPANSION:
-.PRECIOUS: %.1bpp %.4bpp %.8bpp %.gbapal %.lz %.rl %.pcm
+.PRECIOUS: %.1bpp %.4bpp %.8bpp %.gbapal %.lz %.rl %.pcm %.bin
.PHONY: all clean compare ruby sapphire
@@ -91,6 +91,7 @@ include misc.mk
%.lz: % ; $(GFX) $< $@
%.rl: % ; $(GFX) $< $@
%.pcm: %.aif ; $(AIF) $< $@
+%.bin: %.aif ; $(AIF) $< $@
src/libc_ruby.o src/libc_sapphire.o: CC1 := tools/agbcc/bin/old_agbcc
src/libc_ruby.o src/libc_sapphire.o: CFLAGS := -O2