|
| 1 | +# The TARGET variable determines what target system the application is |
| 2 | +# compiled for. It either refers to an XN file in the source directories |
| 3 | +# or a valid argument for the --target option when compiling |
| 4 | +TARGET = XC-1A |
| 5 | + |
| 6 | +# The APP_NAME variable determines the name of the final .xe file. It should |
| 7 | +# not include the .xe postfix. If left blank the name will default to |
| 8 | +# the project name |
| 9 | +APP_NAME = FBS_xTime |
| 10 | + |
| 11 | +# The USED_MODULES variable lists other module used by the application. |
| 12 | +USED_MODULES = module_random |
| 13 | + |
| 14 | +# The flags passed to xcc when building the application |
| 15 | +# You can also set the following to override flags for a particular language: |
| 16 | +# XCC_XC_FLAGS, XCC_C_FLAGS, XCC_ASM_FLAGS, XCC_CPP_FLAGS |
| 17 | +# If the variable XCC_MAP_FLAGS is set it overrides the flags passed to |
| 18 | +# xcc for the final link (mapping) stage. |
| 19 | +XCC_FLAGS_Debug = |
| 20 | +XCC_XC_FLAGS_Debug = -g -O0 -Wall |
| 21 | +XCC_C_FLAGS_Debug = -g -O0 -Wall |
| 22 | +XCC_CPP_FLAGS_Debug = -g3 -O0 -Wall |
| 23 | +XCC_MAP_FLAGS_Debug = -fno-error=timing-syntax |
| 24 | +XCC_ASM_FLAGS_Debug = -g |
| 25 | +XCC_FLAGS_Release = |
| 26 | +XCC_XC_FLAGS_Release = -g -O2 -Wall |
| 27 | +XCC_C_FLAGS_Release = -g -O2 -Wall |
| 28 | +XCC_CPP_FLAGS_Release = -g3 -O3 -Wall |
| 29 | +XCC_MAP_FLAGS_Release = -fno-error=timing-syntax |
| 30 | +XCC_ASM_FLAGS_Release = -g |
| 31 | +XCC_FLAGS_1.1_debug = |
| 32 | +XCC_XC_FLAGS_1.1_debug = -g -O0 -Wall |
| 33 | +XCC_C_FLAGS_1.1_debug = -g -O0 -Wall |
| 34 | +XCC_CPP_FLAGS_1.1_debug = -g3 -O0 -Wall |
| 35 | +XCC_MAP_FLAGS_1.1_debug = -fno-error=timing-syntax |
| 36 | +XCC_ASM_FLAGS_1.1_debug = -g |
| 37 | +XCC_FLAGS_1.1_release = |
| 38 | +XCC_XC_FLAGS_1.1_release = -g -O2 -Wall |
| 39 | +XCC_C_FLAGS_1.1_release = -g -O2 -Wall |
| 40 | +XCC_CPP_FLAGS_1.1_release = -g3 -O3 -Wall |
| 41 | +XCC_MAP_FLAGS_1.1_release = -fno-error=timing-syntax |
| 42 | +XCC_ASM_FLAGS_1.1_release = -g |
| 43 | +XCC_FLAGS_1.2_release = |
| 44 | +XCC_XC_FLAGS_1.2_release = -g -O2 -Wall |
| 45 | +XCC_C_FLAGS_1.2_release = -g -O2 -Wall |
| 46 | +XCC_CPP_FLAGS_1.2_release = -g3 -O3 -Wall |
| 47 | +XCC_MAP_FLAGS_1.2_release = -fno-error=timing-syntax |
| 48 | +XCC_ASM_FLAGS_1.2_release = -g |
| 49 | + |
| 50 | +# The XCORE_ARM_PROJECT variable, if set to 1, configures this |
| 51 | +# project to create both xCORE and ARM binaries. |
| 52 | +XCORE_ARM_PROJECT = 0 |
| 53 | + |
| 54 | +# The VERBOSE variable, if set to 1, enables verbose output from the make system. |
| 55 | +VERBOSE = 0 |
| 56 | + |
| 57 | +XMOS_MAKE_PATH ?= ../.. |
| 58 | +-include $(XMOS_MAKE_PATH)/xcommon/module_xcommon/build/Makefile.common |
0 commit comments