git subrepo clone git@github.com:compihu/platform-test-f4-ll.git platforms/platform-test-f4-ll
subrepo: subdir: "platforms/platform-test-f4-ll" merged: "bc41134" upstream: origin: "git@github.com:compihu/platform-test-f4-ll.git" branch: "master" commit: "bc41134" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo" commit: "87ee373"
This commit is contained in:
parent
46ce55c6a0
commit
95af4ce0d8
460 changed files with 84105 additions and 0 deletions
|
@ -0,0 +1,46 @@
|
|||
#Set this to @ to keep the makefile quiet
|
||||
SILENCE = @
|
||||
|
||||
#---- Outputs ----#
|
||||
COMPONENT_NAME = ProjectName
|
||||
TARGET_LIB = \
|
||||
lib/lib$(COMPONENT_NAME).a
|
||||
|
||||
TEST_TARGET = \
|
||||
$(COMPONENT_NAME)_tests
|
||||
|
||||
#--- Inputs ----#
|
||||
PROJECT_HOME_DIR = .
|
||||
CPPUTEST_HOME = ../CppUTest
|
||||
CPP_PLATFORM = Gcc
|
||||
|
||||
#CFLAGS are set to override malloc and free to get memory leak detection in C programs
|
||||
CFLAGS = -Dmalloc=cpputest_malloc -Dfree=cpputest_free
|
||||
CPPFLAGS =
|
||||
GCOVFLAGS = -fprofile-arcs -ftest-coverage
|
||||
|
||||
#SRC_DIRS is a list of source directories that make up the target library
|
||||
#If test files are in these directories, their IMPORT_TEST_GROUPs need
|
||||
#to be included in main to force them to be linked in. By convention
|
||||
#put them into an AllTests.h file in each directory
|
||||
SRC_DIRS = \
|
||||
src
|
||||
|
||||
#TEST_SRC_DIRS is a list of directories including
|
||||
# - A test main (AllTests.cpp by conventin)
|
||||
# - OBJ files in these directories are included in the TEST_TARGET
|
||||
# - Consequently - AllTests.h containing the IMPORT_TEST_GROUPS is not needed
|
||||
# -
|
||||
TEST_SRC_DIRS = \
|
||||
tests
|
||||
|
||||
#includes for all compiles
|
||||
INCLUDES =\
|
||||
-I.\
|
||||
-I$(CPPUTEST_HOME)/include\
|
||||
|
||||
#Flags to pass to ld
|
||||
LDFLAGS +=
|
||||
USER_LIBS =
|
||||
|
||||
include $(CPPUTEST_HOME)/build/ComponentMakefile
|
Loading…
Add table
Add a link
Reference in a new issue