1 # Project files (adds all .c files in project root)
\r
2 PROJECT_C_FILES=$(notdir $(wildcard ../*.c))
\r
3 obj-y += $(PROJECT_C_FILES:%.c=%.o)
\r
7 inc-y += $(ROOTDIR)/system/kernel/$(objdir)
\r
8 inc-y += $(ROOTDIR)/system/kernel/include
\r
10 # The more precise configuration, the higher preceedance.
\r
11 VPATH := ../config/$(BOARDDIR) ../config $(VPATH)
\r
12 inc-y := ../config/$(BOARDDIR) ../config $(inc-y)
\r
15 ldcmdfile-y = linkscript_cw.lcf
\r
16 vpath %.ldf $(ROOTDIR)/$(ARCH_PATH-y)/scripts
\r
18 # What I want to build
\r
19 build-exe-y = can_node.elf
\r
22 #################### Arctic Core make system ######################
\r
23 # Following is an explanation of the most usable features
\r
24 # of the Arctic Core make system.
\r
26 # obj-y : list of object files to build.
\r
27 # VPATH : list of directories in which to
\r
28 # look for source files.
\r
29 # inc-y : list of directories in which to
\r
30 # look for header files.
\r
31 # libitem-y : list of libraries to include.
\r
32 # build-exe-y : the name of build the output file.
\r
33 # ldcmdfile-y: path to linkscript, used when building "build-exe-y"
\r
35 # For more information see:
\r
36 # http://arccore.com/wiki/Makesystem
\r
37 ###################################################################
\r