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
7EXE_NAME:=bs_device_time_monitor
8SRCS:=src/bs_time_monitor_main.c \
9	    src/bs_time_monitor_args.c
10A_LIBS:=${BSIM_LIBS_DIR}/libUtilv1.a \
11        ${BSIM_LIBS_DIR}/libPhyComv1.a
12
13INCLUDES:=-I${libUtilv1_COMP_PATH}/src/ \
14          -I${libPhyComv1_COMP_PATH}/src/
15
16SO_LIBS:= -lrt
17DEBUG:=-g
18OPT:=
19ARCH:=
20WARNINGS:=-Wall -pedantic
21COVERAGE:=
22CFLAGS:=${ARCH} ${DEBUG} ${OPT} ${WARNINGS} -MMD -MP -std=c99  ${INCLUDES}
23LDFLAGS:=${ARCH} ${COVERAGE}
24CPPFLAGS:=-D_POSIX_C_SOURCE=199309
25
26include ${BSIM_BASE_PATH}/common/make.device.inc
27