-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
executable file
·31 lines (26 loc) · 944 Bytes
/
Makefile
File metadata and controls
executable file
·31 lines (26 loc) · 944 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 2018 Oticon A/S
# SPDX-License-Identifier: Apache-2.0
BSIM_BASE_PATH?=$(abspath ../ )
include ${BSIM_BASE_PATH}/common/pre.make.inc
2G4_libPhyComv1_COMP_PATH?=$(abspath ${BSIM_COMPONENTS_PATH}/ext_2G4_libPhyComv1)
2G4_phy_v1_COMP_PATH?=$(abspath ${BSIM_COMPONENTS_PATH}/ext_2G4_phy_v1)
SRCS:=src/modem_magic.c \
src/modem_magic_args.c
LIB_NAME:=lib_2G4Modem_Magic
INCLUDES:=-I${libUtilv1_COMP_PATH}/src/ \
-I${libPhyComv1_COMP_PATH}/src/ \
-I${libRandv2_COMP_PATH}/src/ \
-I${2G4_libPhyComv1_COMP_PATH}/src \
-I${2G4_phy_v1_COMP_PATH}/src/ \
A_LIBS:=
#remember to compile whoever uses this with -rdynamic so we can use its libUtil functions
SO_LIBS:=
DEBUG:=-g
OPT:=
ARCH:=
WARNINGS:=-Wall -pedantic
COVERAGE:=
CFLAGS:=${ARCH} ${DEBUG} ${OPT} ${WARNINGS} -MMD -MP -std=c99 -fPIC ${INCLUDES}
LDFLAGS:=${ARCH} ${COVERAGE}
CPPFLAGS:=
include ${BSIM_BASE_PATH}/common/make.lib_so.inc