1# Copyright 2017-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
7SRCS:=src/blecrypt.c
8LIB_NAME:=libCryptov1
9A_LIBS:=$(COMPONENT_OUTPUT_DIR)/libcrypto.a
10SO_LIBS:=
11DEBUG:=-g
12OPT:=
13ARCH:=-m32
14WARNINGS:=-Wall -pedantic
15COVERAGE:=
16CFLAGS:=${ARCH} ${DEBUG} ${OPT} ${WARNINGS} -MMD -MP -std=c99 -fPIC -Iinclude/
17LDFLAGS:=${ARCH} ${COVERAGE}
18CPPFLAGS:=
19
20include ${BSIM_BASE_PATH}/common/make.lib_so.inc
21
22$(COMPONENT_OUTPUT_DIR)/libcrypto.a: always_run_this_target
23	@${MAKE} -f Makefile.library
24