This commit is contained in:
Crizomb 2025-06-10 17:40:16 +02:00
commit f698a38c7e
585 changed files with 118338 additions and 0 deletions

View file

@ -0,0 +1,41 @@
NAME = 3d
ifndef CPU
$(error Specify CPU=[x86|x86_64|arm|arm64])
endif
ifndef CONFIG
$(error Specify CONFIG=[Debug|Release])
endif
ifeq (${CPU}, arm)
FLAGS += -marm -march=armv7-a -mfpu=neon -mfloat-abi=hard
else ifeq (${CPU}, arm64)
FLAGS += -m64 -target aarch64-linux-gnu -march=armv8-a
else ifeq (${CPU}, x86)
FLAGS += -m32
else
override CPU = x86_64
FLAGS += -m64
endif
ifeq (${CONFIG}, Debug)
FLAGS += -g
SUFFIX = L
else
override CONFIG = Release
FLAGS += -O2
SUFFIX =
endif
SOURCE_FILES = \
../3d.cpp \
../common.cpp \
../common_platform.cpp
INCLUDE_DIRS = \
-I../../../core/inc
CORE_LIB = ../../../core/lib/${CPU}/libfmod${SUFFIX}.so
all:
g++ -pthread ${FLAGS} -o ${NAME} ${SOURCE_FILES} -Wl,-rpath=\$$ORIGIN/$(dir ${CORE_LIB}) ${CORE_LIB} ${INCLUDE_DIRS}

View file

@ -0,0 +1,41 @@
NAME = asyncio
ifndef CPU
$(error Specify CPU=[x86|x86_64|arm|arm64])
endif
ifndef CONFIG
$(error Specify CONFIG=[Debug|Release])
endif
ifeq (${CPU}, arm)
FLAGS += -marm -march=armv7-a -mfpu=neon -mfloat-abi=hard
else ifeq (${CPU}, arm64)
FLAGS += -m64 -target aarch64-linux-gnu -march=armv8-a
else ifeq (${CPU}, x86)
FLAGS += -m32
else
override CPU = x86_64
FLAGS += -m64
endif
ifeq (${CONFIG}, Debug)
FLAGS += -g
SUFFIX = L
else
override CONFIG = Release
FLAGS += -O2
SUFFIX =
endif
SOURCE_FILES = \
../asyncio.cpp \
../common.cpp \
../common_platform.cpp
INCLUDE_DIRS = \
-I../../../core/inc
CORE_LIB = ../../../core/lib/${CPU}/libfmod${SUFFIX}.so
all:
g++ -pthread ${FLAGS} -o ${NAME} ${SOURCE_FILES} -Wl,-rpath=\$$ORIGIN/$(dir ${CORE_LIB}) ${CORE_LIB} ${INCLUDE_DIRS}

View file

@ -0,0 +1,41 @@
NAME = channel_groups
ifndef CPU
$(error Specify CPU=[x86|x86_64|arm|arm64])
endif
ifndef CONFIG
$(error Specify CONFIG=[Debug|Release])
endif
ifeq (${CPU}, arm)
FLAGS += -marm -march=armv7-a -mfpu=neon -mfloat-abi=hard
else ifeq (${CPU}, arm64)
FLAGS += -m64 -target aarch64-linux-gnu -march=armv8-a
else ifeq (${CPU}, x86)
FLAGS += -m32
else
override CPU = x86_64
FLAGS += -m64
endif
ifeq (${CONFIG}, Debug)
FLAGS += -g
SUFFIX = L
else
override CONFIG = Release
FLAGS += -O2
SUFFIX =
endif
SOURCE_FILES = \
../channel_groups.cpp \
../common.cpp \
../common_platform.cpp
INCLUDE_DIRS = \
-I../../../core/inc
CORE_LIB = ../../../core/lib/${CPU}/libfmod${SUFFIX}.so
all:
g++ -pthread ${FLAGS} -o ${NAME} ${SOURCE_FILES} -Wl,-rpath=\$$ORIGIN/$(dir ${CORE_LIB}) ${CORE_LIB} ${INCLUDE_DIRS}

View file

@ -0,0 +1,41 @@
NAME = convolution_reverb
ifndef CPU
$(error Specify CPU=[x86|x86_64|arm|arm64])
endif
ifndef CONFIG
$(error Specify CONFIG=[Debug|Release])
endif
ifeq (${CPU}, arm)
FLAGS += -marm -march=armv7-a -mfpu=neon -mfloat-abi=hard
else ifeq (${CPU}, arm64)
FLAGS += -m64 -target aarch64-linux-gnu -march=armv8-a
else ifeq (${CPU}, x86)
FLAGS += -m32
else
override CPU = x86_64
FLAGS += -m64
endif
ifeq (${CONFIG}, Debug)
FLAGS += -g
SUFFIX = L
else
override CONFIG = Release
FLAGS += -O2
SUFFIX =
endif
SOURCE_FILES = \
../convolution_reverb.cpp \
../common.cpp \
../common_platform.cpp
INCLUDE_DIRS = \
-I../../../core/inc
CORE_LIB = ../../../core/lib/${CPU}/libfmod${SUFFIX}.so
all:
g++ -pthread ${FLAGS} -o ${NAME} ${SOURCE_FILES} -Wl,-rpath=\$$ORIGIN/$(dir ${CORE_LIB}) ${CORE_LIB} ${INCLUDE_DIRS}

View file

@ -0,0 +1,41 @@
NAME = dsp_custom
ifndef CPU
$(error Specify CPU=[x86|x86_64|arm|arm64])
endif
ifndef CONFIG
$(error Specify CONFIG=[Debug|Release])
endif
ifeq (${CPU}, arm)
FLAGS += -marm -march=armv7-a -mfpu=neon -mfloat-abi=hard
else ifeq (${CPU}, arm64)
FLAGS += -m64 -target aarch64-linux-gnu -march=armv8-a
else ifeq (${CPU}, x86)
FLAGS += -m32
else
override CPU = x86_64
FLAGS += -m64
endif
ifeq (${CONFIG}, Debug)
FLAGS += -g
SUFFIX = L
else
override CONFIG = Release
FLAGS += -O2
SUFFIX =
endif
SOURCE_FILES = \
../dsp_custom.cpp \
../common.cpp \
../common_platform.cpp
INCLUDE_DIRS = \
-I../../../core/inc
CORE_LIB = ../../../core/lib/${CPU}/libfmod${SUFFIX}.so
all:
g++ -pthread ${FLAGS} -o ${NAME} ${SOURCE_FILES} -Wl,-rpath=\$$ORIGIN/$(dir ${CORE_LIB}) ${CORE_LIB} ${INCLUDE_DIRS}

View file

@ -0,0 +1,41 @@
NAME = dsp_effect_per_speaker
ifndef CPU
$(error Specify CPU=[x86|x86_64|arm|arm64])
endif
ifndef CONFIG
$(error Specify CONFIG=[Debug|Release])
endif
ifeq (${CPU}, arm)
FLAGS += -marm -march=armv7-a -mfpu=neon -mfloat-abi=hard
else ifeq (${CPU}, arm64)
FLAGS += -m64 -target aarch64-linux-gnu -march=armv8-a
else ifeq (${CPU}, x86)
FLAGS += -m32
else
override CPU = x86_64
FLAGS += -m64
endif
ifeq (${CONFIG}, Debug)
FLAGS += -g
SUFFIX = L
else
override CONFIG = Release
FLAGS += -O2
SUFFIX =
endif
SOURCE_FILES = \
../dsp_effect_per_speaker.cpp \
../common.cpp \
../common_platform.cpp
INCLUDE_DIRS = \
-I../../../core/inc
CORE_LIB = ../../../core/lib/${CPU}/libfmod${SUFFIX}.so
all:
g++ -pthread ${FLAGS} -o ${NAME} ${SOURCE_FILES} -Wl,-rpath=\$$ORIGIN/$(dir ${CORE_LIB}) ${CORE_LIB} ${INCLUDE_DIRS}

View file

@ -0,0 +1,41 @@
NAME = dsp_inspector
ifndef CPU
$(error Specify CPU=[x86|x86_64|arm|arm64])
endif
ifndef CONFIG
$(error Specify CONFIG=[Debug|Release])
endif
ifeq (${CPU}, arm)
FLAGS += -marm -march=armv7-a -mfpu=neon -mfloat-abi=hard
else ifeq (${CPU}, arm64)
FLAGS += -m64 -target aarch64-linux-gnu -march=armv8-a
else ifeq (${CPU}, x86)
FLAGS += -m32
else
override CPU = x86_64
FLAGS += -m64
endif
ifeq (${CONFIG}, Debug)
FLAGS += -g
SUFFIX = L
else
override CONFIG = Release
FLAGS += -O2
SUFFIX =
endif
SOURCE_FILES = \
../dsp_inspector.cpp \
../common.cpp \
../common_platform.cpp
INCLUDE_DIRS = \
-I../../../core/inc
CORE_LIB = ../../../core/lib/${CPU}/libfmod${SUFFIX}.so
all:
g++ -pthread ${FLAGS} -o ${NAME} ${SOURCE_FILES} -Wl,-rpath=\$$ORIGIN/$(dir ${CORE_LIB}) ${CORE_LIB} ${INCLUDE_DIRS}

View file

@ -0,0 +1,41 @@
NAME = effects
ifndef CPU
$(error Specify CPU=[x86|x86_64|arm|arm64])
endif
ifndef CONFIG
$(error Specify CONFIG=[Debug|Release])
endif
ifeq (${CPU}, arm)
FLAGS += -marm -march=armv7-a -mfpu=neon -mfloat-abi=hard
else ifeq (${CPU}, arm64)
FLAGS += -m64 -target aarch64-linux-gnu -march=armv8-a
else ifeq (${CPU}, x86)
FLAGS += -m32
else
override CPU = x86_64
FLAGS += -m64
endif
ifeq (${CONFIG}, Debug)
FLAGS += -g
SUFFIX = L
else
override CONFIG = Release
FLAGS += -O2
SUFFIX =
endif
SOURCE_FILES = \
../effects.cpp \
../common.cpp \
../common_platform.cpp
INCLUDE_DIRS = \
-I../../../core/inc
CORE_LIB = ../../../core/lib/${CPU}/libfmod${SUFFIX}.so
all:
g++ -pthread ${FLAGS} -o ${NAME} ${SOURCE_FILES} -Wl,-rpath=\$$ORIGIN/$(dir ${CORE_LIB}) ${CORE_LIB} ${INCLUDE_DIRS}

View file

@ -0,0 +1,41 @@
NAME = gapless_playback
ifndef CPU
$(error Specify CPU=[x86|x86_64|arm|arm64])
endif
ifndef CONFIG
$(error Specify CONFIG=[Debug|Release])
endif
ifeq (${CPU}, arm)
FLAGS += -marm -march=armv7-a -mfpu=neon -mfloat-abi=hard
else ifeq (${CPU}, arm64)
FLAGS += -m64 -target aarch64-linux-gnu -march=armv8-a
else ifeq (${CPU}, x86)
FLAGS += -m32
else
override CPU = x86_64
FLAGS += -m64
endif
ifeq (${CONFIG}, Debug)
FLAGS += -g
SUFFIX = L
else
override CONFIG = Release
FLAGS += -O2
SUFFIX =
endif
SOURCE_FILES = \
../gapless_playback.cpp \
../common.cpp \
../common_platform.cpp
INCLUDE_DIRS = \
-I../../../core/inc
CORE_LIB = ../../../core/lib/${CPU}/libfmod${SUFFIX}.so
all:
g++ -pthread ${FLAGS} -o ${NAME} ${SOURCE_FILES} -Wl,-rpath=\$$ORIGIN/$(dir ${CORE_LIB}) ${CORE_LIB} ${INCLUDE_DIRS}

View file

@ -0,0 +1,41 @@
NAME = generate_tone
ifndef CPU
$(error Specify CPU=[x86|x86_64|arm|arm64])
endif
ifndef CONFIG
$(error Specify CONFIG=[Debug|Release])
endif
ifeq (${CPU}, arm)
FLAGS += -marm -march=armv7-a -mfpu=neon -mfloat-abi=hard
else ifeq (${CPU}, arm64)
FLAGS += -m64 -target aarch64-linux-gnu -march=armv8-a
else ifeq (${CPU}, x86)
FLAGS += -m32
else
override CPU = x86_64
FLAGS += -m64
endif
ifeq (${CONFIG}, Debug)
FLAGS += -g
SUFFIX = L
else
override CONFIG = Release
FLAGS += -O2
SUFFIX =
endif
SOURCE_FILES = \
../generate_tone.cpp \
../common.cpp \
../common_platform.cpp
INCLUDE_DIRS = \
-I../../../core/inc
CORE_LIB = ../../../core/lib/${CPU}/libfmod${SUFFIX}.so
all:
g++ -pthread ${FLAGS} -o ${NAME} ${SOURCE_FILES} -Wl,-rpath=\$$ORIGIN/$(dir ${CORE_LIB}) ${CORE_LIB} ${INCLUDE_DIRS}

View file

@ -0,0 +1,41 @@
NAME = granular_synth
ifndef CPU
$(error Specify CPU=[x86|x86_64|arm|arm64])
endif
ifndef CONFIG
$(error Specify CONFIG=[Debug|Release])
endif
ifeq (${CPU}, arm)
FLAGS += -marm -march=armv7-a -mfpu=neon -mfloat-abi=hard
else ifeq (${CPU}, arm64)
FLAGS += -m64 -target aarch64-linux-gnu -march=armv8-a
else ifeq (${CPU}, x86)
FLAGS += -m32
else
override CPU = x86_64
FLAGS += -m64
endif
ifeq (${CONFIG}, Debug)
FLAGS += -g
SUFFIX = L
else
override CONFIG = Release
FLAGS += -O2
SUFFIX =
endif
SOURCE_FILES = \
../granular_synth.cpp \
../common.cpp \
../common_platform.cpp
INCLUDE_DIRS = \
-I../../../core/inc
CORE_LIB = ../../../core/lib/${CPU}/libfmod${SUFFIX}.so
all:
g++ -pthread ${FLAGS} -o ${NAME} ${SOURCE_FILES} -Wl,-rpath=\$$ORIGIN/$(dir ${CORE_LIB}) ${CORE_LIB} ${INCLUDE_DIRS}

View file

@ -0,0 +1,41 @@
NAME = load_from_memory
ifndef CPU
$(error Specify CPU=[x86|x86_64|arm|arm64])
endif
ifndef CONFIG
$(error Specify CONFIG=[Debug|Release])
endif
ifeq (${CPU}, arm)
FLAGS += -marm -march=armv7-a -mfpu=neon -mfloat-abi=hard
else ifeq (${CPU}, arm64)
FLAGS += -m64 -target aarch64-linux-gnu -march=armv8-a
else ifeq (${CPU}, x86)
FLAGS += -m32
else
override CPU = x86_64
FLAGS += -m64
endif
ifeq (${CONFIG}, Debug)
FLAGS += -g
SUFFIX = L
else
override CONFIG = Release
FLAGS += -O2
SUFFIX =
endif
SOURCE_FILES = \
../load_from_memory.cpp \
../common.cpp \
../common_platform.cpp
INCLUDE_DIRS = \
-I../../../core/inc
CORE_LIB = ../../../core/lib/${CPU}/libfmod${SUFFIX}.so
all:
g++ -pthread ${FLAGS} -o ${NAME} ${SOURCE_FILES} -Wl,-rpath=\$$ORIGIN/$(dir ${CORE_LIB}) ${CORE_LIB} ${INCLUDE_DIRS}

View file

@ -0,0 +1,41 @@
NAME = multiple_speaker
ifndef CPU
$(error Specify CPU=[x86|x86_64|arm|arm64])
endif
ifndef CONFIG
$(error Specify CONFIG=[Debug|Release])
endif
ifeq (${CPU}, arm)
FLAGS += -marm -march=armv7-a -mfpu=neon -mfloat-abi=hard
else ifeq (${CPU}, arm64)
FLAGS += -m64 -target aarch64-linux-gnu -march=armv8-a
else ifeq (${CPU}, x86)
FLAGS += -m32
else
override CPU = x86_64
FLAGS += -m64
endif
ifeq (${CONFIG}, Debug)
FLAGS += -g
SUFFIX = L
else
override CONFIG = Release
FLAGS += -O2
SUFFIX =
endif
SOURCE_FILES = \
../multiple_speaker.cpp \
../common.cpp \
../common_platform.cpp
INCLUDE_DIRS = \
-I../../../core/inc
CORE_LIB = ../../../core/lib/${CPU}/libfmod${SUFFIX}.so
all:
g++ -pthread ${FLAGS} -o ${NAME} ${SOURCE_FILES} -Wl,-rpath=\$$ORIGIN/$(dir ${CORE_LIB}) ${CORE_LIB} ${INCLUDE_DIRS}

View file

@ -0,0 +1,41 @@
NAME = multiple_system
ifndef CPU
$(error Specify CPU=[x86|x86_64|arm|arm64])
endif
ifndef CONFIG
$(error Specify CONFIG=[Debug|Release])
endif
ifeq (${CPU}, arm)
FLAGS += -marm -march=armv7-a -mfpu=neon -mfloat-abi=hard
else ifeq (${CPU}, arm64)
FLAGS += -m64 -target aarch64-linux-gnu -march=armv8-a
else ifeq (${CPU}, x86)
FLAGS += -m32
else
override CPU = x86_64
FLAGS += -m64
endif
ifeq (${CONFIG}, Debug)
FLAGS += -g
SUFFIX = L
else
override CONFIG = Release
FLAGS += -O2
SUFFIX =
endif
SOURCE_FILES = \
../multiple_system.cpp \
../common.cpp \
../common_platform.cpp
INCLUDE_DIRS = \
-I../../../core/inc
CORE_LIB = ../../../core/lib/${CPU}/libfmod${SUFFIX}.so
all:
g++ -pthread ${FLAGS} -o ${NAME} ${SOURCE_FILES} -Wl,-rpath=\$$ORIGIN/$(dir ${CORE_LIB}) ${CORE_LIB} ${INCLUDE_DIRS}

View file

@ -0,0 +1,41 @@
NAME = net_stream
ifndef CPU
$(error Specify CPU=[x86|x86_64|arm|arm64])
endif
ifndef CONFIG
$(error Specify CONFIG=[Debug|Release])
endif
ifeq (${CPU}, arm)
FLAGS += -marm -march=armv7-a -mfpu=neon -mfloat-abi=hard
else ifeq (${CPU}, arm64)
FLAGS += -m64 -target aarch64-linux-gnu -march=armv8-a
else ifeq (${CPU}, x86)
FLAGS += -m32
else
override CPU = x86_64
FLAGS += -m64
endif
ifeq (${CONFIG}, Debug)
FLAGS += -g
SUFFIX = L
else
override CONFIG = Release
FLAGS += -O2
SUFFIX =
endif
SOURCE_FILES = \
../net_stream.cpp \
../common.cpp \
../common_platform.cpp
INCLUDE_DIRS = \
-I../../../core/inc
CORE_LIB = ../../../core/lib/${CPU}/libfmod${SUFFIX}.so
all:
g++ -pthread ${FLAGS} -o ${NAME} ${SOURCE_FILES} -Wl,-rpath=\$$ORIGIN/$(dir ${CORE_LIB}) ${CORE_LIB} ${INCLUDE_DIRS}

View file

@ -0,0 +1,41 @@
NAME = play_sound
ifndef CPU
$(error Specify CPU=[x86|x86_64|arm|arm64])
endif
ifndef CONFIG
$(error Specify CONFIG=[Debug|Release])
endif
ifeq (${CPU}, arm)
FLAGS += -marm -march=armv7-a -mfpu=neon -mfloat-abi=hard
else ifeq (${CPU}, arm64)
FLAGS += -m64 -target aarch64-linux-gnu -march=armv8-a
else ifeq (${CPU}, x86)
FLAGS += -m32
else
override CPU = x86_64
FLAGS += -m64
endif
ifeq (${CONFIG}, Debug)
FLAGS += -g
SUFFIX = L
else
override CONFIG = Release
FLAGS += -O2
SUFFIX =
endif
SOURCE_FILES = \
../play_sound.cpp \
../common.cpp \
../common_platform.cpp
INCLUDE_DIRS = \
-I../../../core/inc
CORE_LIB = ../../../core/lib/${CPU}/libfmod${SUFFIX}.so
all:
g++ -pthread ${FLAGS} -o ${NAME} ${SOURCE_FILES} -Wl,-rpath=\$$ORIGIN/$(dir ${CORE_LIB}) ${CORE_LIB} ${INCLUDE_DIRS}

View file

@ -0,0 +1,41 @@
NAME = play_stream
ifndef CPU
$(error Specify CPU=[x86|x86_64|arm|arm64])
endif
ifndef CONFIG
$(error Specify CONFIG=[Debug|Release])
endif
ifeq (${CPU}, arm)
FLAGS += -marm -march=armv7-a -mfpu=neon -mfloat-abi=hard
else ifeq (${CPU}, arm64)
FLAGS += -m64 -target aarch64-linux-gnu -march=armv8-a
else ifeq (${CPU}, x86)
FLAGS += -m32
else
override CPU = x86_64
FLAGS += -m64
endif
ifeq (${CONFIG}, Debug)
FLAGS += -g
SUFFIX = L
else
override CONFIG = Release
FLAGS += -O2
SUFFIX =
endif
SOURCE_FILES = \
../play_stream.cpp \
../common.cpp \
../common_platform.cpp
INCLUDE_DIRS = \
-I../../../core/inc
CORE_LIB = ../../../core/lib/${CPU}/libfmod${SUFFIX}.so
all:
g++ -pthread ${FLAGS} -o ${NAME} ${SOURCE_FILES} -Wl,-rpath=\$$ORIGIN/$(dir ${CORE_LIB}) ${CORE_LIB} ${INCLUDE_DIRS}

View file

@ -0,0 +1,41 @@
NAME = record
ifndef CPU
$(error Specify CPU=[x86|x86_64|arm|arm64])
endif
ifndef CONFIG
$(error Specify CONFIG=[Debug|Release])
endif
ifeq (${CPU}, arm)
FLAGS += -marm -march=armv7-a -mfpu=neon -mfloat-abi=hard
else ifeq (${CPU}, arm64)
FLAGS += -m64 -target aarch64-linux-gnu -march=armv8-a
else ifeq (${CPU}, x86)
FLAGS += -m32
else
override CPU = x86_64
FLAGS += -m64
endif
ifeq (${CONFIG}, Debug)
FLAGS += -g
SUFFIX = L
else
override CONFIG = Release
FLAGS += -O2
SUFFIX =
endif
SOURCE_FILES = \
../record.cpp \
../common.cpp \
../common_platform.cpp
INCLUDE_DIRS = \
-I../../../core/inc
CORE_LIB = ../../../core/lib/${CPU}/libfmod${SUFFIX}.so
all:
g++ -pthread ${FLAGS} -o ${NAME} ${SOURCE_FILES} -Wl,-rpath=\$$ORIGIN/$(dir ${CORE_LIB}) ${CORE_LIB} ${INCLUDE_DIRS}

View file

@ -0,0 +1,41 @@
NAME = record_enumeration
ifndef CPU
$(error Specify CPU=[x86|x86_64|arm|arm64])
endif
ifndef CONFIG
$(error Specify CONFIG=[Debug|Release])
endif
ifeq (${CPU}, arm)
FLAGS += -marm -march=armv7-a -mfpu=neon -mfloat-abi=hard
else ifeq (${CPU}, arm64)
FLAGS += -m64 -target aarch64-linux-gnu -march=armv8-a
else ifeq (${CPU}, x86)
FLAGS += -m32
else
override CPU = x86_64
FLAGS += -m64
endif
ifeq (${CONFIG}, Debug)
FLAGS += -g
SUFFIX = L
else
override CONFIG = Release
FLAGS += -O2
SUFFIX =
endif
SOURCE_FILES = \
../record_enumeration.cpp \
../common.cpp \
../common_platform.cpp
INCLUDE_DIRS = \
-I../../../core/inc
CORE_LIB = ../../../core/lib/${CPU}/libfmod${SUFFIX}.so
all:
g++ -pthread ${FLAGS} -o ${NAME} ${SOURCE_FILES} -Wl,-rpath=\$$ORIGIN/$(dir ${CORE_LIB}) ${CORE_LIB} ${INCLUDE_DIRS}

View file

@ -0,0 +1,41 @@
NAME = user_created_sound
ifndef CPU
$(error Specify CPU=[x86|x86_64|arm|arm64])
endif
ifndef CONFIG
$(error Specify CONFIG=[Debug|Release])
endif
ifeq (${CPU}, arm)
FLAGS += -marm -march=armv7-a -mfpu=neon -mfloat-abi=hard
else ifeq (${CPU}, arm64)
FLAGS += -m64 -target aarch64-linux-gnu -march=armv8-a
else ifeq (${CPU}, x86)
FLAGS += -m32
else
override CPU = x86_64
FLAGS += -m64
endif
ifeq (${CONFIG}, Debug)
FLAGS += -g
SUFFIX = L
else
override CONFIG = Release
FLAGS += -O2
SUFFIX =
endif
SOURCE_FILES = \
../user_created_sound.cpp \
../common.cpp \
../common_platform.cpp
INCLUDE_DIRS = \
-I../../../core/inc
CORE_LIB = ../../../core/lib/${CPU}/libfmod${SUFFIX}.so
all:
g++ -pthread ${FLAGS} -o ${NAME} ${SOURCE_FILES} -Wl,-rpath=\$$ORIGIN/$(dir ${CORE_LIB}) ${CORE_LIB} ${INCLUDE_DIRS}