-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTinyOS_Plugin_Makefile
58 lines (51 loc) · 2.21 KB
/
TinyOS_Plugin_Makefile
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
46
47
48
49
50
51
52
53
54
55
56
57
58
# ----------------------------------------------------------------
# Makefile generated by TinyOS-Plugin for Eclipse
# ----------------------------------------------------------------
# NOTE: as of version 2 of this plugin, the makefiles importance
# is reduced:
#
# There should be no need to modify this file.
# Please use the "Make Options Dialog" to define the parameters of
# the compiler.
# The "Make Options Dialog" can be accessed when the "Make Options
# View" is open. Just right-click on one of the maketargets or
# projects and either select "add" or "edit".
# ----------------------------------------------------------------
# Existing and additional environment variables (introduced by the
# TinyOS-Plugin)
#
# TOSDIR : TinyOS directory
#
# APP_MAKERULES : location of Makerules - file
# (set by the environment plugin
# normally that would be support/make/Makerules)
#
# ECLIPSE_PROJECT : the eclipse project directory
#
# COMPONENT : the main-component of the application
# ----------------------------------------------------------------
# Examples:
# Include Header from the current project (but in subdir)
# PFLAGS+= -I${ECLIPSE_PROJECT}/headerf/3
# Include Header-files from another eclipse project:
# PFLAGS+= -I${ECLIPSE_PROJECT}/../projectname/dir
# Include TinyOS directory from the TinyOS-Contrib directory
# PFLAGS+= -I${TOSDIR}/../contrib/xbow/beta/TASKApp
# ----------------------------------------------------------------
# The environment variable COMPONENT is set automatically by the
# plugin.
# When using this makefile without plugin, the line below has to
# be uncommented. You have to replace "src/MainComponentC" by
# your main-component (module or configuration).
# ----------------------------------------------------------------
# COMPONENT=src/MySocketAppC
# The location of the "Makerules" is set by the plugin through
# the variable APP_MAKERULES. If not present, then this makefile
# is not used by the plugin, and hence has to hope that the
# MAKERULES variable was set.
# ----------------------------------------------------------------
ifdef APP_MAKERULES
include $(APP_MAKERULES)
else
include $(MAKERULES)
endif