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