xref: /btstack/3rd-party/lc3-google/test/neon/makefile.mk (revision 6897da5c53aac5b1f90f41b5b15d0bd43d61dfff)
1*6897da5cSDirk Helbig#
2*6897da5cSDirk Helbig# Copyright 2022 Google LLC
3*6897da5cSDirk Helbig#
4*6897da5cSDirk Helbig# Licensed under the Apache License, Version 2.0 (the "License");
5*6897da5cSDirk Helbig# you may not use this file except in compliance with the License.
6*6897da5cSDirk Helbig# You may obtain a copy of the License at:
7*6897da5cSDirk Helbig#
8*6897da5cSDirk Helbig# http://www.apache.org/licenses/LICENSE-2.0
9*6897da5cSDirk Helbig#
10*6897da5cSDirk Helbig# Unless required by applicable law or agreed to in writing, software
11*6897da5cSDirk Helbig# distributed under the License is distributed on an "AS IS" BASIS,
12*6897da5cSDirk Helbig# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13*6897da5cSDirk Helbig# See the License for the specific language governing permissions and
14*6897da5cSDirk Helbig# limitations under the License.
15*6897da5cSDirk Helbig#
16*6897da5cSDirk Helbig
17*6897da5cSDirk Helbigtest_neon_src += \
18*6897da5cSDirk Helbig    $(TEST_DIR)/neon/test_neon.c \
19*6897da5cSDirk Helbig    $(TEST_DIR)/neon/ltpf_neon.c \
20*6897da5cSDirk Helbig    $(TEST_DIR)/neon/mdct_neon.c \
21*6897da5cSDirk Helbig    $(SRC_DIR)/tables.c
22*6897da5cSDirk Helbig
23*6897da5cSDirk Helbigtest_neon_include += $(SRC_DIR)
24*6897da5cSDirk Helbigtest_neon_ldlibs += m
25*6897da5cSDirk Helbig
26*6897da5cSDirk Helbig$(eval $(call add-bin,test_neon))
27*6897da5cSDirk Helbig
28*6897da5cSDirk Helbigtest_neon: $(test_neon_bin)
29*6897da5cSDirk Helbig	@echo "  RUN     $(notdir $<)"
30*6897da5cSDirk Helbig	$(V)$<
31*6897da5cSDirk Helbig
32*6897da5cSDirk Helbigtest: test_neon
33