-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmakefile
34 lines (25 loc) · 796 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
#Set this to @ to keep the makefile quiet
SILENCE = @
#set CPPUTEST_HOME to point to cpputest
#---- Outputs ----#
COMPONENT_NAME = OffTargetTests
#--- Inputs ----#
PROJECT_HOME_DIR = .
SRC_FILES = production-src/MicrocontrollerCode.c
TEST_SRC_FILES = test/AllTests.cpp\
test/TestMicroControllerCode.cpp\
test/REG1210-globals.c \
test/MockRegister.cpp
INCLUDE_DIRS =\
.\
test\
production-src\
compiler-includes\
$(CPPUTEST_HOME)/include/ \
$(CPPUTEST_HOME)/include/Platforms/Gcc\
CPPUTEST_USE_EXTENSIONS = Y
CPPUTEST_WARNINGFLAGS = -Wall -Werror -Wswitch-default -Wfatal-errors
CPPUTEST_CXXFLAGS = -std=c++0x
CPPUTEST_CFLAGS = -std=c99
CPPUTEST_CPPFLAGS = -include test/off_target_reg1210_forced_includes.h
include $(CPPUTEST_HOME)/build/MakefileWorker.mk