diff options
Diffstat (limited to 'lib/rbcodec/codecs/libopus/celt/dump_modes/Makefile')
-rw-r--r-- | lib/rbcodec/codecs/libopus/celt/dump_modes/Makefile | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/lib/rbcodec/codecs/libopus/celt/dump_modes/Makefile b/lib/rbcodec/codecs/libopus/celt/dump_modes/Makefile new file mode 100644 index 0000000000..93f599fb5b --- /dev/null +++ b/lib/rbcodec/codecs/libopus/celt/dump_modes/Makefile | |||
@@ -0,0 +1,32 @@ | |||
1 | |||
2 | CFLAGS=-O2 -Wall -Wextra -DHAVE_CONFIG_H | ||
3 | INCLUDES=-I. -I../ -I../.. -I../../include | ||
4 | |||
5 | SOURCES = dump_modes.c \ | ||
6 | ../modes.c \ | ||
7 | ../cwrs.c \ | ||
8 | ../rate.c \ | ||
9 | ../entcode.c \ | ||
10 | ../entenc.c \ | ||
11 | ../entdec.c \ | ||
12 | ../mathops.c \ | ||
13 | ../mdct.c \ | ||
14 | ../kiss_fft.c | ||
15 | |||
16 | ifdef HAVE_ARM_NE10 | ||
17 | CC = gcc | ||
18 | CFLAGS += -mfpu=neon | ||
19 | INCLUDES += -I$(NE10_INCDIR) -DHAVE_ARM_NE10 -DOPUS_ARM_PRESUME_NEON_INTR | ||
20 | LIBS = -L$(NE10_LIBDIR) -lNE10 | ||
21 | SOURCES += ../arm/celt_ne10_fft.c \ | ||
22 | dump_modes_arm_ne10.c \ | ||
23 | ../arm/armcpu.c | ||
24 | endif | ||
25 | |||
26 | all: dump_modes | ||
27 | |||
28 | dump_modes: | ||
29 | $(PREFIX)$(CC) $(CFLAGS) $(INCLUDES) -DCUSTOM_MODES_ONLY -DCUSTOM_MODES $(SOURCES) -o $@ $(LIBS) -lm | ||
30 | |||
31 | clean: | ||
32 | rm -f dump_modes | ||