aboutsummaryrefslogtreecommitdiff
path: root/support/make
diff options
context:
space:
mode:
authorCamille Moncelier <moncelier@devlife.org>2011-05-21 14:33:22 +0200
committerMarti Bolivar <mbolivar@leaflabs.com>2011-06-02 13:26:24 -0400
commit628750bf82135cc1ca25784c8b39eb771ae87024 (patch)
treeb3b808382d8a5c12e1971aa5e92d1dee7a4bf41e /support/make
parent9dbcaae0c5d34233d6126cc0be00be0bfa0fcbc4 (diff)
Added libs in libraries/ to the include path
- This allows to including of libs headers eg: #include <Servo.h> which wasn't possible for some reason.
Diffstat (limited to 'support/make')
-rw-r--r--support/make/build-templates.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/support/make/build-templates.mk b/support/make/build-templates.mk
index 4371f13..fcf83a1 100644
--- a/support/make/build-templates.mk
+++ b/support/make/build-templates.mk
@@ -1,5 +1,6 @@
define LIBMAPLE_MODULE_template
dir := $(1)
+LIBMAPLE_INCLUDES += -I$$(dir)
include $$(dir)/rules.mk
endef