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/modem_BLE_simple.c \ 11 src/modem_BLE_simple_args.c 12 13LIB_NAME:=lib_2G4Modem_BLE_simple 14A_LIBS:= 15#remember to compile whoever uses this with -rdynamic so we can use its libUtil functions 16SO_LIBS:= 17DEBUG:=-g 18OPT:= 19ARCH:= 20 21INCLUDES:= \ 22-I${libUtilv1_COMP_PATH}/src/ \ 23-I${libPhyComv1_COMP_PATH}/src/ \ 24-I${2G4_libPhyComv1_COMP_PATH}/src/ \ 25-I${libRandv2_COMP_PATH}/src/ \ 26-I${2G4_phy_v1_COMP_PATH}/src/ \ 27 28WARNINGS:=-Wall -pedantic 29COVERAGE:= 30CFLAGS:=${ARCH} ${DEBUG} ${OPT} ${WARNINGS} -MMD -MP -std=c99 -fPIC ${INCLUDES} 31LDFLAGS:=${ARCH} ${COVERAGE} 32CPPFLAGS:= 33 34include ${BSIM_BASE_PATH}/common/make.lib_so.inc 35