/
Makefile
48 lines (36 loc) · 833 Bytes
/
Makefile
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Enable gcov
CPPUTEST_USE_GCOV = Y
# Execute flags
CPPUTEST_EXE_FLAGS = -c
#Set this to @ to keep the makefile quiet
SILENCE = @
#---- Outputs ----#
COMPONENT_NAME = sdachi
#Set this to @ to keep the makefile quiet
SILENCE = @
#--- Inputs ----#
PROJECT_HOME_DIR = .
ifeq "$(CPPUTEST_HOME)" ""
CPPUTEST_HOME = ../CppUTest
endif
CPP_PLATFORM = Gcc
SRC_DIRS = \
src\
src/*
# to pick specific files (rather than directories) use this:
SRC_FILES =
TEST_SRC_DIRS = \
tests \
tests/*
MOCKS_SRC_DIRS = \
mocks \
INCLUDE_DIRS =\
.\
include \
include/* \
$(CPPUTEST_HOME)/include/ \
$(CPPUTEST_HOME)/include/Platforms/Gcc\
mocks
CPPUTEST_WARNINGFLAGS = -Wall -Werror #-Wswitch-default
CPPUTEST_WARNINGFLAGS += -Wconversion #-Wswitch-enum
include $(CPPUTEST_HOME)/build/MakefileWorker.mk