1#
2# Copyright 2022 Google LLC
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at:
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15#
16
17liblc3_src += \
18    $(SRC_DIR)/attdet.c \
19    $(SRC_DIR)/bits.c \
20    $(SRC_DIR)/bwdet.c \
21    $(SRC_DIR)/energy.c \
22    $(SRC_DIR)/lc3.c \
23    $(SRC_DIR)/ltpf.c \
24    $(SRC_DIR)/mdct.c \
25    $(SRC_DIR)/plc.c \
26    $(SRC_DIR)/sns.c \
27    $(SRC_DIR)/spec.c \
28    $(SRC_DIR)/tables.c \
29    $(SRC_DIR)/tns.c
30
31liblc3_cflags += -ffast-math
32
33$(eval $(call add-lib,liblc3))
34
35default: liblc3
36