| 1 | #--------- |
| 2 | # |
| 3 | # CppUTest Examples Makefile |
| 4 | # |
| 5 | #---------- |
| 6 | |
| 7 | #Set this to @ to keep the makefile quiet |
| 8 | ifndef SILENCE |
| 9 | SILENCE = @ |
| 10 | endif |
| 11 | |
| 12 | #--- Inputs ----# |
| 13 | COMPONENT_NAME = CppUTestExamples |
| 14 | CPPUTEST_HOME = .. |
| 15 | |
| 16 | CPPUTEST_USE_EXTENSIONS = Y |
| 17 | CPP_PLATFORM = Gcc |
| 18 | |
| 19 | # This line is overriding the default new macros. This is helpful |
| 20 | # when using std library includes like <list> and other containers |
| 21 | # so that memory leak detection does not conflict with stl. |
| 22 | CPPUTEST_MEMLEAK_DETECTOR_NEW_MACRO_FILE = -include ApplicationLib/ExamplesNewOverrides.h |
| 23 | SRC_DIRS = \ |
| 24 | ApplicationLib |
| 25 | |
| 26 | TEST_SRC_DIRS = \ |
| 27 | AllTests |
| 28 | |
| 29 | INCLUDE_DIRS =\ |
| 30 | .\ |
| 31 | ApplicationLib\ |
| 32 | $(CPPUTEST_HOME)/include\ |
| 33 | |
| 34 | include $(CPPUTEST_HOME)/build/MakefileWorker.mk |
| 35 | |
| 36 |