mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-08 15:30:14 +00:00
[Audio 6/?] Build Soundfonts and the Soundfont Table (#2056)
* [Audio 6/?] Build Soundfonts and the Soundfont Table * Improve lots of error messages * First suggested changes * Make audio build debugging more friendly Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com> * Some fixes from MM review * Make soundfont_table.h generation depend on the samplebank xmls since they are read, report from which soundfont the invalid pointer indirect warning originates from --------- Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
This commit is contained in:
parent
17debe8620
commit
aa97586659
40 changed files with 2775 additions and 87 deletions
|
@ -1,4 +1,4 @@
|
|||
PROGRAMS := atblgen sbc
|
||||
PROGRAMS := atblgen sfpatch sbc sfc
|
||||
|
||||
ifeq ($(shell which xml2-config),)
|
||||
$(error xml2-config not found. Did you install libxml2-dev?)
|
||||
|
@ -30,14 +30,18 @@ format:
|
|||
$(CLANG_FORMAT) $(FORMAT_ARGS) $(shell find . -maxdepth 1 -type f -name "*.[ch]")
|
||||
$(MAKE) -C sampleconv format
|
||||
|
||||
atblgen_SOURCES := audio_tablegen.c samplebank.c xml.c util.c
|
||||
sbc_SOURCES := samplebank_compiler.c samplebank.c aifc.c xml.c util.c
|
||||
atblgen_SOURCES := audio_tablegen.c samplebank.c soundfont.c xml.c util.c
|
||||
sfpatch_SOURCES := sfpatch.c util.c
|
||||
sbc_SOURCES := samplebank_compiler.c samplebank.c aifc.c xml.c util.c
|
||||
sfc_SOURCES := soundfont_compiler.c samplebank.c soundfont.c aifc.c xml.c util.c
|
||||
|
||||
atblgen_CFLAGS := $(XML_CFLAGS)
|
||||
sbc_CFLAGS := $(XML_CFLAGS)
|
||||
sfc_CFLAGS := $(XML_CFLAGS)
|
||||
|
||||
atblgen_LDFLAGS := $(XML_LDFLAGS)
|
||||
sbc_LDFLAGS := $(XML_LDFLAGS)
|
||||
sfc_LDFLAGS := $(XML_LDFLAGS)
|
||||
|
||||
define COMPILE =
|
||||
$(1): $($1_SOURCES)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue