Skip to content

Commit

Permalink
Fix makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
pferrand-soundhound committed May 29, 2023
1 parent 121d795 commit 17584a4
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,45 @@ SFIZZ_CXX_FLAGS += \
-I$(SFIZZ_DIR)/external/st_audiofile/thirdparty/dr_libs \
-I$(SFIZZ_DIR)/external/st_audiofile/thirdparty/stb_vorbis

# Wavpack support
SFIZZ_SOURCES += \
external/st_audiofile/thirdparty/wavpack/src/common_utils.c \
external/st_audiofile/thirdparty/wavpack/src/decorr_utils.c \
external/st_audiofile/thirdparty/wavpack/src/entropy_utils.c \
external/st_audiofile/thirdparty/wavpack/src/extra1.c \
external/st_audiofile/thirdparty/wavpack/src/extra2.c \
external/st_audiofile/thirdparty/wavpack/src/open_utils.c \
external/st_audiofile/thirdparty/wavpack/src/open_filename.c \
external/st_audiofile/thirdparty/wavpack/src/open_legacy.c \
external/st_audiofile/thirdparty/wavpack/src/open_raw.c \
external/st_audiofile/thirdparty/wavpack/src/pack.c \
external/st_audiofile/thirdparty/wavpack/src/pack_dns.c \
external/st_audiofile/thirdparty/wavpack/src/pack_floats.c \
external/st_audiofile/thirdparty/wavpack/src/pack_utils.c \
external/st_audiofile/thirdparty/wavpack/src/read_words.c \
external/st_audiofile/thirdparty/wavpack/src/tags.c \
external/st_audiofile/thirdparty/wavpack/src/tag_utils.c \
external/st_audiofile/thirdparty/wavpack/src/unpack.c \
external/st_audiofile/thirdparty/wavpack/src/unpack_floats.c \
external/st_audiofile/thirdparty/wavpack/src/unpack_seek.c \
external/st_audiofile/thirdparty/wavpack/src/unpack_utils.c \
external/st_audiofile/thirdparty/wavpack/src/write_words.c \
external/st_audiofile/thirdparty/wavpack/src/pack_dsd.c \
external/st_audiofile/thirdparty/wavpack/src/unpack_dsd.c \
external/st_audiofile/thirdparty/wavpack/src/unpack3.c \
external/st_audiofile/thirdparty/wavpack/src/unpack3_open.c \
external/st_audiofile/thirdparty/wavpack/src/unpack3_seek.c

SFIZZ_C_FLAGS += \
-I$(SFIZZ_DIR)/external/st_audiofile/thirdparty/wavpack/include \
-I$(SFIZZ_DIR)/external/st_audiofile/thirdparty/wavpack/src \
-DENABLE_DSD -DENABLE_LEGACY

SFIZZ_CXX_FLAGS += \
-I$(SFIZZ_DIR)/external/st_audiofile/thirdparty/wavpack/include \
-I$(SFIZZ_DIR)/external/st_audiofile/thirdparty/wavpack/src \
-DENABLE_DSD -DENABLE_LEGACY

ifeq ($(SFIZZ_USE_SNDFILE),1)
SFIZZ_C_FLAGS += $(SFIZZ_SNDFILE_C_FLAGS) -DST_AUDIO_FILE_USE_SNDFILE=1
SFIZZ_CXX_FLAGS += $(SFIZZ_SNDFILE_CXX_FLAGS) -DST_AUDIO_FILE_USE_SNDFILE=1
Expand Down

0 comments on commit 17584a4

Please sign in to comment.