1# Copyright 2018 Oticon A/S
2# SPDX-License-Identifier: Apache-2.0
3
4BSIM_BASE_PATH?=$(abspath ../ )
5include ${BSIM_BASE_PATH}/common/pre.make.inc
6
72G4_libPhyComv1_COMP_PATH?=$(abspath ${BSIM_COMPONENTS_PATH}/ext_2G4_libPhyComv1)
82G4_phy_v1_COMP_PATH?=$(abspath ${BSIM_COMPONENTS_PATH}/ext_2G4_phy_v1)
9
10SRCS:=src/channel_multiatt.c \
11      src/channel_multiatt_args.c
12
13INCLUDES:= -I${libUtilv1_COMP_PATH}/src/ \
14           -I${libPhyComv1_COMP_PATH}/src/ \
15           -I${2G4_phy_v1_COMP_PATH}/src/ \
16           -I${2G4_libPhyComv1_COMP_PATH}/src
17
18LIB_NAME:=lib_2G4Channel_multiatt
19A_LIBS:=
20#remember to compile whoever uses this with -rdynamic so we can use its libUtils functions
21SO_LIBS:=
22
23DEBUG:=-g
24OPT:=
25ARCH:=
26WARNINGS:=-Wall -pedantic
27COVERAGE:=
28CFLAGS:=${ARCH} ${DEBUG} ${OPT} ${WARNINGS} -MMD -MP -std=c99  -fPIC ${INCLUDES}
29LDFLAGS:=${ARCH} ${COVERAGE}
30CPPFLAGS:=
31
32include ${BSIM_BASE_PATH}/common/make.lib_so.inc
33