| 1 |
#Set this to @ to keep the makefile quiet |
| 2 |
SILENCE = @ |
| 3 |
|
| 4 |
#---- Outputs ----# |
| 5 |
COMPONENT_NAME = Project |
| 6 |
#Set this to @ to keep the makefile quiet |
| 7 |
SILENCE = @ |
| 8 |
|
| 9 |
#--- Inputs ----# |
| 10 |
PROJECT_HOME_DIR = . |
| 11 |
ifeq "$(CPPUTEST_HOME)" "" |
| 12 |
CPPUTEST_HOME = ../CppUTest |
| 13 |
endif |
| 14 |
CPP_PLATFORM = Gcc |
| 15 |
|
| 16 |
SRC_DIRS = \ |
| 17 |
src\ |
| 18 |
src/* |
| 19 |
|
| 20 |
# to pick specific files (rather than directories) use this: |
| 21 |
SRC_FILES = |
| 22 |
|
| 23 |
TEST_SRC_DIRS = \ |
| 24 |
tests \ |
| 25 |
tests/* |
| 26 |
|
| 27 |
MOCKS_SRC_DIRS = \ |
| 28 |
mocks \ |
| 29 |
|
| 30 |
INCLUDE_DIRS =\ |
| 31 |
.\ |
| 32 |
include \ |
| 33 |
include/* \ |
| 34 |
$(CPPUTEST_HOME)/include/ \ |
| 35 |
$(CPPUTEST_HOME)/include/Platforms/Gcc\ |
| 36 |
mocks |
| 37 |
|
| 38 |
CPPUTEST_WARNINGFLAGS = -Wall -Werror -Wswitch-default |
| 39 |
CPPUTEST_WARNINGFLAGS += -Wconversion -Wswitch-enum |
| 40 |
|
| 41 |
include $(CPPUTEST_HOME)/build/MakefileWorker.mk |
| 42 |
|