1# Copyright 2018 Oticon A/S
2# SPDX-License-Identifier: Apache-2.0
3
4SHELL:=/bin/bash
5
6COMPONENT_OUTPUT_DIR?=./#This should really be set by the top level makefile, but if it wasnt just to be safe we point here
7BSIM_OUT_PATH?=../../#This should really be set by the top level makefile, but if it wasnt just to be safe we point to where it normally is
8BSIM_LIBS_DIR:=${BSIM_OUT_PATH}/lib/
9BSIM_BIN_DIR:=${BSIM_OUT_PATH}/bin/
10#We assume whatever component we are compiling is placed inside the components folder:
11BSIM_COMPONENTS_PATH?=$(abspath ../)
12BSIM_BASE_PATH?=${BSIM_COMPONENTS_PATH}
13libUtilv1_COMP_PATH:=$(abspath ${BSIM_BASE_PATH}/libUtilv1 )
14libRandv2_COMP_PATH:=$(abspath ${BSIM_BASE_PATH}/libRandv2 )
15libPhyComv1_COMP_PATH:=$(abspath ${BSIM_BASE_PATH}/libPhyComv1 )
16
17CC:=gcc
18AR:=ar
19