forked from parse-community/parse-embedded-sdks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile.inc
32 lines (24 loc) · 781 Bytes
/
makefile.inc
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
#**********************************************************************************
#
# Common rules for building the Embedded C SDK libraries and samples.
#
#**********************************************************************************
#
# The project directory.
#
PROJECT_ROOT:=$(patsubst %/,%,$(dir $(abspath $(firstword $(MAKEFILE_LIST)))))
#
# The Parse Embedded C SDK directory.
#
PARSE_SDK_ROOT:=$(patsubst %/,%,$(dir $(abspath $(lastword $(MAKEFILE_LIST)))))
#
# Where to find header files that do not live in the source directory.
#
IPATH+=$(PARSE_SDK_ROOT)/include
IPATH+=$(PARSE_SDK_ROOT)/rtos
IPATH+=$(PARSE_SDK_ROOT)/common
#
# Where to find source files that do not live in this directory.
#
VPATH+=$(PARSE_SDK_ROOT)/rtos
VPATH+=$(PARSE_SDK_ROOT)/common