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 7LIB_NAME:=libUtilv1 8SRCS:=$(shell ls src/*.c) 9A_LIBS:= 10A_LIBS32:= 11SO_LIBS:= 12 13DEBUG:=-g 14OPT:= 15ARCH:= 16WARNINGS:=-Wall -pedantic 17COVERAGE:= 18#if you want to compile for gcov add --coverage (remember to not have optimizations) 19CFLAGS:=${ARCH} ${DEBUG} ${OPT} ${WARNINGS} -MMD -MP -std=c99 -fPIC 20LDFLAGS:=${ARCH} 21CPPFLAGS:=-D_XOPEN_SOURCE=700 -D_POSIX_C_SOURCE=200809 22 23include ${BSIM_BASE_PATH}/common/make.lib_soeta64et32.inc 24