forked from parse-community/parse-embedded-sdks
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile.inc
More file actions
30 lines (22 loc) · 721 Bytes
/
makefile.inc
File metadata and controls
30 lines (22 loc) · 721 Bytes
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
#**********************************************************************************
#
# 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)/common
#
# Where to find source files that do not live in this directory.
#
VPATH+=$(PARSE_SDK_ROOT)/common