-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMakefile_xmos
45 lines (31 loc) · 1.83 KB
/
Makefile_xmos
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
35
36
37
38
39
40
41
42
43
44
45
# The TARGET variable determines what target system the application is
# compiled for. It either refers to an XN file in the source directories
# or a valid argument for the --target option when compiling.
TARGET = XK-1A
# The APP_NAME variable determines the name of the final .xe file. It should
# not include the .xe postfix. If left blank the name will default to
# the project name
APP_NAME =
# This variable controls where the include files for the app are found.
# In this application the extra include files may be found in a target
# specific directory for XMOS development boards
INCLUDE_DIRS = src
SOURCE_DIRS = src
# The flags passed to xcc when building the application
# You can also set the following to override flags for a particular language:
#
# XCC_XC_FLAGS, XCC_C_FLAGS, XCC_ASM_FLAGS, XCC_CPP_FLAGS
#
# If the variable XCC_MAP_FLAGS is set it overrides the flags passed to
# xcc for the final link (mapping) stage.
XCC_FLAGS = -DUSE_OVERLAYS -Xmapper --no-overlay-data -foverlay=syscall -Xmapper --errdemote53 -Xmapper --image-size -Xmapper 0x1000000 -Xmapper --image-base -Xmapper 0x1000000 -Os -save-temps -g -report -Xmapper --map -Xmapper MAPFILE -D__XMOS__
XCC_FLAGS += -DPATH_MAX=64 -DVERSION=1 -DDOOMWADDIR="\"\"" -DNO_PREDEFINED_LUMPS=1
XCC_XC_FLAGS = -fimplicit-overlay $(XCC_FLAGS)
XCC_CPP_FLAGS = -fno-rtti -fno-exceptions $(XCC_FLAGS)
EXCLUDE_FILES += l_system.cpp l_video_sdl.cpp l_udp.cpp l_sound_sdl.cpp d_server.cpp
# The USED_MODULES variable lists other module used by the application.
#=============================================================================
# The following part of the Makefile includes the common build infrastructure
# for compiling XMOS applications. You should not need to edit below here.
XMOS_MAKE_PATH ?= ../..
-include $(XMOS_MAKE_PATH)/xcommon/module_xcommon/build/Makefile.common