1#  Copyright © 2022 Intel Corporation
2#
3#  Licensed under the Apache License, Version 2.0 (the "License");
4#  you may not use this file except in compliance with the License.
5#  You may obtain a copy of the License at:
6#
7#  http://www.apache.org/licenses/LICENSE-2.0
8#
9#  Unless required by applicable law or agreed to in writing, software
10#  distributed under the License is distributed on an "AS IS" BASIS,
11#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12#  See the License for the specific language governing permissions and
13#  limitations under the License.
14
15inc = include_directories('../include')
16
17lc3toolslib = static_library('lc3toolslib',
18    ['lc3bin.c', 'wave.c'],
19    link_with: lc3lib,
20    include_directories: inc,
21    dependencies: m_dep,
22)
23
24executable('elc3', ['elc3.c'],
25    link_with : lc3toolslib,
26    include_directories: inc,
27    install: true)
28
29executable('dlc3', ['dlc3.c'],
30    link_with : lc3toolslib,
31    include_directories: inc,
32    install: true)
33